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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Update Test</title> | |
<script src="./js/usergrid.js"></script> | |
<script type="text/javascript"> | |
var restaurants; |
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 Loader = function () { } | |
Loader.prototype = { | |
require: function (scripts, callback) { | |
this.loadCount = 0; | |
this.totalRequired = scripts.length; | |
this.callback = callback; | |
for (var i = 0; i < scripts.length; i++) { | |
this.writeScript(scripts[i]); | |
} |