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.
33 lines (29 loc) • 804 B
JavaScript
define('view/error/Generic', ['view/Base'], function(Base) {
'use strict';
var /**
* @name config
* @private
* @type {Object}
* @fieldOf blackbox.web.view.error.Generic.prototype
* @description
* <strong>{String} <code>template</code>:</strong> <code>'error/generic'</code>.</em>
*/
config = {
template: 'error/generic',
css: true,
i18n: true
};
/**
* @lends blackbox.web.view.error.Generic.prototype
*/
return Base.extend({
/**
* @constructs
* @version 2.0
* @augments blackbox.web.view.Base
*/
initialize: function() {
return Base.prototype.initialize.call(this, config);
}
});
});