jetfuel-blackbox
Version:
Currently, BlackBox is a boilerplate client-side application framework, built on top of the JetFuel build system and Grunt, Backbone, RequireJS, JetRunner unit test server (Mocha BDD/TDD test framework + PhantomJS + SauceLabs cloud integration), Dust (and Plate Django port) for templating (both client and server-side), Sass, Express dynamic web server, etc. BlackBox is the template used for JetFuel's basic `init` command.
25 lines (21 loc) • 513 B
JavaScript
define('model/Page', ['Backbone'], function(Backbone) {
'use strict';
/**
* @lends blackbox.web.model.Page.prototype
*/
return Backbone.Model.extend({
/**
* @type String
* @description "/pages"
*/
urlRoot: '/pages',
/**
* @constructs
* @version 2.0
* @augments Backbone.Model
*/
initialize: function() {
return Backbone.Model.prototype.initialize.call(this);
}
});
});