UPDATE:
After some more looking around i tried to compare the
production.js from contacts sample
(https://github.com/bitovi/contacts) with my application.
You would not that
before steal.executed("stealconfig.js");
stealconfig.js is present in contacts app js file but not in my file.
How is my build different then the build from the sample? I would
appreciate any help
This is contacts app:
steal.packages({});
steal.has("stealconfig.js",
"contacts/contacts.js",
"can/control/control.js",
"can/util/jquery/jquery.js", "jquery",
"can/util/can.js", "can/util/array/each.js",
"can/construct/construct.js",
"can/util/string/string.js",
"can/observe/observe.js",
"can/util/bind/bind.js",
"contacts/form/form.js",
"can/construct/super/super.js",
"contacts/models/models.js",
"contacts/models/contact_params.js",
"contacts/models/location.js",
"can/model/model.js",
"can/model/list/list.js",
"can/observe/elements/elements.js", "contacts/models/contact.js",
"contacts/models/company.js",
"contacts/models/category.js",
"contacts/fixtures/fixtures.js",
"can/util/fixture/fixture.js",
"can/util/object/object.js",
"contacts/views/init.mustache",
"can/view/mustache/mustache.js",
"can/view/view.js", "can/view/scanner.js",
"can/view/elements.js",
"can/observe/compute/compute.js",
"can/view/render.js", "can/view/live.js",
"can/view/node_lists.js",
"contacts/views/category_item.mustache",
"contacts/views/company_item.mustache",
"contacts/views/contact_row.mustache", "steal/less/less.js",
"can/construct/proxy/proxy.js",
"canui/table_scroll/table_scroll.js",
"can/control/plugin/plugin.js",
"canui/fills/fills.js",
"jquerypp/dom/dimensions/dimensions.js",
"jquerypp/dom/styles/styles.js",
"jquerypp/event/resize/resize.js",
"jquerypp/event/reverse/reverse.js",
"canui/util/scrollbar_width.js",
"canui/form/form.js",
"canui/form/checked/checked.js",
"canui/form/placeholder/placeholder.js",
"canui/form/text_edit/text_edit.js",
"canui/form/value/value.js",
"can/route/route.js", "can/util/string/deparam/deparam.js");
steal({
id: "contacts/production.css",
waits: !0,
has: ["contacts/less/contacts.less"]
});
steal("stealconfig.js",
"contacts/contacts.js",
"can/control/control.js",
"can/util/jquery/jquery.js", "jquery",
"can/util/can.js", "can/util/array/each.js",
"can/construct/construct.js",
"can/util/string/string.js",
"can/observe/observe.js",
"can/util/bind/bind.js",
"contacts/form/form.js",
"can/construct/super/super.js",
"contacts/models/models.js",
"contacts/models/contact_params.js",
"contacts/models/location.js",
"can/model/model.js",
"can/model/list/list.js",
"can/observe/elements/elements.js", "contacts/models/contact.js",
"contacts/models/company.js",
"contacts/models/category.js",
"contacts/fixtures/fixtures.js",
"can/util/fixture/fixture.js",
"can/util/object/object.js",
"contacts/views/init.mustache",
"can/view/mustache/mustache.js",
"can/view/view.js", "can/view/scanner.js",
"can/view/elements.js",
"can/observe/compute/compute.js",
"can/view/render.js", "can/view/live.js",
"can/view/node_lists.js",
"contacts/views/category_item.mustache",
"contacts/views/company_item.mustache",
"contacts/views/contact_row.mustache", "steal/less/less.js",
"can/construct/proxy/proxy.js",
"canui/table_scroll/table_scroll.js",
"can/control/plugin/plugin.js",
"canui/fills/fills.js",
"jquerypp/dom/dimensions/dimensions.js",
"jquerypp/dom/styles/styles.js",
"jquerypp/event/resize/resize.js",
"jquerypp/event/reverse/reverse.js",
"canui/util/scrollbar_width.js",
"canui/form/form.js",
"canui/form/checked/checked.js",
"canui/form/placeholder/placeholder.js",
"canui/form/text_edit/text_edit.js",
"canui/form/value/value.js",
"can/route/route.js", "can/util/string/deparam/deparam.js");
steal.pushPending();
steal.config({
map: {
"*": {
"jquery/jquery.js": "jquery",
"can/util/util.js": "can/util/jquery/jquery.js",
"jquery/": "jquerypp/"
}
},
paths: {
jquery: "can/lib/jquery.1.9.1.js",
"mootools/mootools.js": "can/lib/mootools-core-1.4.3.js",
"dojo/dojo.js": "can/util/dojo/dojo-1.8.1.js",
"yui/yui.js": "can/lib/yui-3.7.3.js",
"zepto/zepto.js": "can/lib/zepto.1.0rc1.js"
},
shim: {
jquery: {
exports: "jQuery"
}
},
ext: {
js: "js",
css: "css",
less: "steal/less/less.js",
coffee: "steal/coffee/coffee.js",
ejs: "can/view/ejs/ejs.js",
mustache: "can/view/mustache/mustache.js"
}
});
steal.executed("stealconfig.js");
This is my app:
steal.packages({
"main/main.js": "..//packages/main.js"
});
steal.make({
id: "..//packages/main.js",
needs: ["..//packages/main.css"],
has: "kendo".split(" ")
});
steal.make({
id: "..//packages/main.css",
has: "undefined undefined undefined
undefined undefined undefined undefined undefined undefined
undefined undefined undefined undefined undefined undefined
undefined".split(" ")
});
steal.has("stealconfig.js", "app.js",
"login/login.js", "contentcore",
"can/control/control.js",
"can/util/jquery/jquery.js", "jquery",
"can/util/can.js", "can/util/array/each.js",
"can/construct/construct.js", "can/util/string/string.js");
steal("stealconfig.js", "app.js",
"login/login.js", "contentcore",
"can/control/control.js",
"can/util/jquery/jquery.js", "jquery",
"can/util/can.js", "can/util/array/each.js",
"can/construct/construct.js", "can/util/string/string.js");
steal.pushPending();
steal.executed("stealconfig.js");
steal.packages("login", "main");
steal("login", function(j) {