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
Y.io( | |
"/pdl/api/guest/user", | |
{ | |
method: "POST", | |
headers: { | |
"Accept": "application/json", | |
"Content-Type": "application/json" | |
}, | |
data: Y.JSON.stringify( | |
{ |
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
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 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
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 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
Tested in: | |
- [ ] Node.js | |
- [ ] Chrome | |
- [ ] FireFox | |
- [ ] Safari | |
- [ ] IE 11 | |
- [ ] IE 10 | |
- [ ] IE 9 | |
- [ ] IE 8 |
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
/node_modules |
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
_changeView: function (newView, options) { | |
console.log("app::_changeView"); | |
options = options || {}; | |
options.renderFirst = (typeof options.renderFirst !== "undefined") ? options.renderFirst : true; | |
if (this._currentView !== null && this._currentView === newView) { | |
console.log("app::_changeView - no change needed"); | |
return; | |
} |
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
if (! DEBUG) { | |
if (! window.console) { | |
window.console = {}; | |
} | |
methods = ["log", "debug", "warn", "info"]; | |
for (i = 0; i < methods.length; i++) { | |
console[methods[i]] = function () {}; | |
} | |
} |
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
this["JST"]["activity/denied.html"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) { | |
this.compilerInfo = [2,'>= 1.0.0-rc.3']; | |
helpers = helpers || Handlebars.helpers; data = data || {}; | |
return "<h2>Activity Access Denied</h2>\n"; | |
}); |
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
Uri.findAll( | |
{ | |
include: [ | |
{ model: CurrentMetaData, as: "metadata" } | |
], | |
where: { | |
type: revTypeMap[type] | |
} | |
} | |
).then( |
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
PasswordReset.find( | |
{ | |
include: [ | |
User | |
], | |
where: { | |
token: token, | |
"users.email": email, | |
expiresAt: { | |
gte: (new Date()) |