MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / generateObj

Function generateObj

Ports/JavaScriptPort/src/main/webapp/js/manup.js:95–103  ·  view source on GitHub ↗
(ajaxString)

Source from the content-addressed store, hash-verified

93 };
94 //these functions makes the ajax calls and assigns to manUp object
95 var generateObj = function (ajaxString) {
96 //for testing
97 //document.getElementById("output").innerHTML = ajaxString;
98 //gen object
99 manUpObject = JSON.parse(ajaxString);
100 generateLinkArray();
101 generateMetaArray();
102
103 };
104
105 var makeAjax = function (url) {
106 if (!window.XMLHttpRequest) return;

Callers 1

makeAjaxFunction · 0.85

Calls 3

generateLinkArrayFunction · 0.85
generateMetaArrayFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected