- Bytes and Blobs by David Flanagan
- Conference Wifi Redux by Malte Ubi
- Sashimi - https://github.com/cramforce/Sashimi
- Run Your JS everywhere with Jellyfish by Adam Christian - http://jelly.io Project
- Fighting Crime and Kicking Apps with Batman.js by Nick Small
- Hello Jo by Dave Balmer - Project - http://joapp.com
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
//the code of the example | |
ds.Employee.length |
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 sayHook = function () { | |
// do some stuff | |
// call original say() method | |
return Object.getPrototypeOf(this).say.apply(this, Array.prototype.slice.call(arguments, 1)); | |
} | |
obj.say = sayHook; |
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
// Object.create Partial Polyfill with minimum Support for second parameter | |
if (!Object.create) { | |
Object.create = function(o, props) { | |
function F() {} | |
F.prototype = o; | |
result = new F(); | |
if (!props) return result; | |
for (var prop in props) { | |
if (!props.hasOwnProperty(prop)) continue; | |
result[prop] = props[prop].value; |