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
var clickedAt = +new Date(), | |
timeout, iframe, webURI, nativeURI; | |
// '+newDate()' is the equivalent of calling valueOf method | |
// of the Date Object. + is a unary operator. | |
// see: http://xkr.us/articles/javascript/unary-add/ | |
if (navigator.userAgent.match(/Android/)) { | |
// Jelly Bean with Chrome browser | |
if (navigator.userAgent.match(/Chrome/)) { | |
// Jelly Bean with Chrome browser |
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
<div id="chart"></div> |
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
// ... | |
module: { | |
loaders: [ | |
// AMD Hacktory has naming collision. cease using AMD loader. | |
{ | |
test: /sinon.*\.js$/, | |
loader: 'imports?define=>false', | |
}, | |
// ... |
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
<snippet> | |
<content><![CDATA[${1:fn}($SELECTION)]]></content> | |
<tabTrigger>WrapAsArg</tabTrigger> | |
<description>Wraps Selection With Function Call</description> | |
</snippet> |