This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AMD module definition: | |
define(function (require) { | |
// An instantiable class: | |
var ClassName = function () { | |
// All private instance data is stored in this._ | |
this._ = {}; | |
this._initialize(); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AMD module definition: | |
define(function (require) { | |
// An instantiable class: | |
var ClassName = function () { | |
// All private instance data is stored in this._ | |
this._ = {}; | |
this._initialize(); | |
}, PROTO = ClassName.prototype; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function (require) { | |
var Gala = require('gala'); | |
var C = require('common'); | |
var TouchHound = function (element) { | |
this._ = {}; | |
this._.element = element; | |
var handle = this._handleEvent.bind(this); | |
this._.handler = new Gala.ContactHandler( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import WebKit | |
// This swizzle allows JavaScript to set the focus on an input, not just when a user is interacting. | |
// | |
extension WKWebView { | |
private typealias StartAssistingNodeMethodType = @convention(c) (Any, Selector, UnsafeRawPointer, Bool, Bool, Any) -> Void | |
private typealias StartAssistingNodeClosureType = @convention(block) (Any, UnsafeRawPointer, Bool, Bool, Any) -> Void | |
func focusInputsWithoutUserInteraction() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
an experiment in strategizing semantle-like puzzles | |
(adjective, value) | |
good | |
(bad) | |
(adverb, value) | |
yes | |
(no) |
OlderNewer