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
function YoloSwaggins(){ | |
console.log(arguments); | |
}; | |
function BilboBaggins ( args ) { | |
console.log(arguments); |
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
(function (workers) { | |
var Waiter = (function () { | |
function Waiter(messageid, delegate) { | |
this.messageid = messageid; | |
this.delegate = delegate; | |
} | |
return Waiter; | |
})(); | |
workers.Waiter = Waiter; | |
})(appex.workers || (appex.workers = {})); |
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
// Lessons in order of operations behaviour in JS | |
this.get( 'bottlings' ).getRequiredUpdates() + (this._requiresUpdate() ) ? 1 : 0; | |
this.get( 'bottlings' ).getRequiredUpdates() + ((this._requiresUpdate() ) ? 1 : 0); |
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 _ = require( 'underscore'); | |
var obj1 = { | |
item : { | |
yolo : { | |
swag : { | |
trill : true | |
} | |
} | |
} |
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 _ = require( 'underscore'); | |
var obj1 = { | |
item : { | |
yolo : { | |
swag : { | |
trill : true | |
} | |
} | |
} |
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 Yolo = Backbone.Model.extend({ | |
sweetMethods : function... | |
... | |
sem : { | |
requiredSyncs : 2, | |
syncedSyncs : 0 | |
}, |
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
/** | |
* | |
* Site-Wide JavaScript - application-specific | |
* | |
* @author James Meldrum | |
* | |
* The functionality for each page type is stored | |
* in a hash of functions to be called by the router. | |
* | |
* Frequent use of AOP |
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
<html> | |
<head> | |
<script type='text/javascript'> | |
window.wineData = { | |
.. | |
}; | |
</script> | |
</head> | |
<body> | |
<script type='text/javascript'> |
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
(function f(a,o){o=o.__proto__;return o?f(a.concat(http://o.constructor.name ),o):a})([],document.body) |
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
concat : { | |
AppBundle : { | |
src : [], | |
dest : "" | |
}, | |
AdminBundle : { | |
src : [], | |
dest : "" | |
}, | |
CommonBundle : { |
OlderNewer