1
0
forked from GitHub/gf-core

Syntax editor: can now load minibar (in-place) from a linearised tree

This commit is contained in:
john.j.camilleri
2012-11-22 12:45:20 +00:00
parent 595c475c70
commit 8b813be742
5 changed files with 100 additions and 52 deletions

View File

@@ -20,6 +20,15 @@ if(!Array.isArray) {
};
}
// Create a clone of an array
// http://davidwalsh.name/javascript-clone-array
// Note that iterating over an array with for...in will include "clone" as a key!
// if(!Array.clone) {
// Array.prototype.clone = function() {
// return this.slice(0);
// };
// }
/* --- JSONP ---------------------------------------------------------------- */
// Inspired by the function jsonp from