This file contains 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
//http://jsfiddle.net/dotnetCarpenter/47KmD/6/ | |
var dir = { | |
up: 1, | |
right: 2, | |
down: 4, | |
left: 8, | |
other: 16 |
This file contains 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
/** | |
* Format all arguments into the first argument. This is a | |
* convenience function similar to the C sprintf function, though | |
* only with simple replacements. Replacements are formatted like | |
* #{i} where i is a zero based index into the additional | |
* arguments passed in to format beyond the first. | |
* | |
* Additional parameters not used will be ignored. | |
* | |
* Including formatting requests for parameters that don't exist |
This file contains 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 metadata"; | |
({ | |
"description": "Provides a clear command to the command line", | |
"provides": [ | |
{ | |
"ep": "command", | |
"name": "clear", | |
"pointer": "#clear" | |
} | |
], |
This file contains 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
// GUID generated @http://www.somacon.com/p113.php | |
$.ajaxSetup({ | |
beforeSend: function(xhr){ | |
xhr.setRequestHeader("GUID", "8A555800-B9D2-11DF-99DA-39E8DFD72085"); | |
} | |
}); |
NewerOlder