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 mylib = {}; | |
(function(context){ | |
var easyXDM; | |
//include easyXDM here | |
//enjoy your closured ref to easyXDM here | |
mylib.easyXDM = easyXDM; | |
})(mylib); |
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 arr = [.....] | |
arr.sort((function(index){ | |
return function(a, b){ | |
if (!a) { | |
return -1; | |
} else if (!b) { | |
return 1; | |
} else if (!a && !b) { | |
return 0; | |
} |
NewerOlder