Sha256: e39afc5fd421a0bea79eeb3d96f33b2a26908a429a1ae4c17adfaf0f4fb3cac2

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

(function() {
// define namespace
<%= project_name %> = {};

// all core modules
include('frameworks/uki/uki-core.js');

// used views, comment out unused ones
include('frameworks/uki/uki-view/view/box.js');
include('frameworks/uki/uki-view/view/image.js');
include('frameworks/uki/uki-view/view/button.js');
include('frameworks/uki/uki-view/view/checkbox.js');
include('frameworks/uki/uki-view/view/radio.js');
include('frameworks/uki/uki-view/view/textField.js');
include('frameworks/uki/uki-view/view/label.js');
include('frameworks/uki/uki-view/view/list.js');
include('frameworks/uki/uki-view/view/table.js');
include('frameworks/uki/uki-view/view/slider.js');
include('frameworks/uki/uki-view/view/splitPane.js');
include('frameworks/uki/uki-view/view/scrollPane.js');
include('frameworks/uki/uki-view/view/popup.js');
include('frameworks/uki/uki-view/view/flow.js');
include('frameworks/uki/uki-view/view/toolbar.js');

// theme
include('frameworks/uki/uki-theme/airport.js');

// data
include('frameworks/uki/uki-data/model.js');


uki.theme.airport.imagePath = 'i/';

// skip interface creation if we're testing
if (window.TESTING) return;

<%= project_name %>.layout.main().attachTo(window, '300 62');

uki('Button').click(function() {
    alert(this.text());
});

})();

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uki-1.1.1 templates/myapp.js.erb
uki-1.1.0 templates/myapp.js.erb
uki-1.0.2 templates/myapp.js.erb