or
<script src="cordova.js"></script><script data-main="scripts/main" src="scripts/require.js"></script>require.config({ paths: { 'jquery': "../kendo/js/jquery.min", 'kendo': "../kendo/js/kendo.mobile.min" }, shim: { 'jquery': { exports: "jquery" }, 'kendo': { deps: ["jquery"], exports: "kendo" } }});// Expose the app module to the global scope so Kendo can access it.var app;require( [ "app" ], function ( application ) { app = application; app.init(); });define(["jquery", "kendo"], function ($, kendo) { var _kendoApplication; return { init: function () { _kendoApplication = new kendo.mobile.Application(document.body, { layout: "tabstrip-layout"}); } }});function buildDataModel() { DataModel.data = new kendo.data.DataSource({ type:"json", pageSize: 5000, //change to infinite when bug fixed. transport:{ read:{ url:AppGlobals.serverURL + "Search", dataType:"json" } }, schema:{ data:"results", total:"count", model:{ fields:{ pid:{ type:"number" }, size:{ type:"number" }, date:{ type:"date" }, type:{ type:"string" }, egpl_date:{ type:"date" }, cocom:{ type:"string" }, country:{ type:"string" }, product_name:{ type:"string" }, outline:{ type:"json" } } } }, error:function (e) { alert("DataMode.js datasource error: " + "\nthrew: " + e.errorThrown + "\nstatus: " + e.status + "\nerrors:" + e.errors + "\nurl: " + e.sender.transport.options.read.url); }, change:function (e) { newData(e); } });}