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
/node_modules |
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
Tested in: | |
- [ ] Node.js | |
- [ ] Chrome | |
- [ ] FireFox | |
- [ ] Safari | |
- [ ] IE 11 | |
- [ ] IE 10 | |
- [ ] IE 9 | |
- [ ] IE 8 |
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 CryptoJS = CryptoJS || (function (Math, undefined) {^M | |
^M | |
return C;^M | |
}(Math));^M | |
define("cryptojs", (function (global) { | |
return function () { | |
var ret, fn; | |
return ret || global.CryptoJS; | |
}; |
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
TinCan.enableDebug(); | |
var tincan = new TinCan ( | |
{ | |
recordStores: [ | |
{ | |
endpoint: "https://cloud.scorm.com/ScormEngineInterface/TCAPI/public/", | |
auth: "" // Base64 encoded string that looks like "test:password" | |
} | |
] |
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
Y.io( | |
"/pdl/api/guest/user", | |
{ | |
method: "POST", | |
headers: { | |
"Accept": "application/json", | |
"Content-Type": "application/json" | |
}, | |
data: Y.JSON.stringify( | |
{ |
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 Clazz = Y.namespace("OCLC.W.Cart.ML.Lines").Base = Y.Base.create( | |
"oclc-cart-ml-lines-base", | |
Y.ModelList, | |
[], | |
{ | |
model: Y.OCLC.W.Cart.M.Line.Base, | |
initializer: function () { | |
Y.log("initializer", "debug", Clazz.NAME); | |
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
#!/usr/bin/env node | |
var gear = require('gear'); | |
new gear.Queue( | |
{ | |
registry: new gear.Registry( | |
{ | |
module: 'gear-lib' | |
} |
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
// assumes existence of Y.UserModel | |
YUI.add('user-view', function (Y) { | |
Y.UserView = Y.Base.create('userView', Y.View, [ Y.ModelConsumer ], { | |
template: Y.Handlebars.templates['user'], | |
initializer: function () { | |
var user = this.get('user'); |
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
YUI.add( | |
"myapp-general", | |
function (Y) { | |
var Clazz = Y.namespace("MyApp").General = Y.Base.create( | |
"myapp-general", | |
Y.Widget, | |
[], | |
{ | |
initializer: function (config) { | |
Y.log("initializer", "debug", Clazz.NAME); |
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
YUI.add( | |
"custom-manage-m-supplier", | |
function (Y) { | |
var Clazz = Y.namespace("Bikes.Manage.M").Supplier = Y.Base.create( | |
"custom_manage_m_supplier", | |
Y.Bikes.Manage.M.Base, | |
[ Y.ModelRelate, Y.ModelRelateAutoGen ], | |
{}, | |
{ | |
ATTRS: { |