templates/myapp.js.erb in uki-1.1.1 vs templates/myapp.js.erb in uki-1.1.2
- old
+ new
@@ -1,8 +1,8 @@
(function() {
// define namespace
-<%= project_name %> = {};
+<%= name %> = {};
// all core modules
include('frameworks/uki/uki-core.js');
// used views, comment out unused ones
@@ -32,10 +32,10 @@
uki.theme.airport.imagePath = 'i/';
// skip interface creation if we're testing
if (window.TESTING) return;
-<%= project_name %>.layout.main().attachTo(window, '300 62');
+<%= name %>.layout.main().attachTo(window, '300 62');
uki('Button').click(function() {
alert(this.text());
});