Sha256: 9ef6a4e6d28ca63b018d876900db23f7e1e2fb9899104f344b8480f03c90f6d5

Contents?: true

Size: 592 Bytes

Versions: 5

Compression:

Stored size: 592 Bytes

Contents

// Configure the app.
// ------------------
require.config({
  baseUrl: "/javascripts",
  paths: {
    "underscore":   "vendor/lodash.underscore",
    "backbone":     "vendor/backbone",
    "jquery":       "vendor/jquery"
  },
  shim: {
    "underscore":   { exports: "_" },
    "backbone":     { exports: "Backbone", deps: ['underscore', 'jquery'] }
  },
  waitSeconds: 15
});

// Then bootstrap the app.
// -----------------------
require( [
    "jquery",
    "app/views/main"
  ],
  function($, MainView) {

    $(document).ready(function(){
      new MainView().render();
    });

  }
);

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
owl-cms-0.1.5 sample/themes/base/assets/javascripts/main.js
owl-cms-0.1.3 sample/themes/base/assets/javascripts/main.js
owl-cms-0.1.2 sample/themes/base/assets/javascripts/main.js
owl-cms-0.1.1 sample/themes/base/assets/javascripts/main.js
owl-cms-0.1.0 sample/themes/base/assets/javascripts/main.js