rjs -> webpack

This commit is contained in:
Keivan Beigi
2015-02-02 17:18:45 -08:00
parent 344f3d66ef
commit 428a1439e5
399 changed files with 11591 additions and 16139 deletions

View File

@@ -1,19 +1,10 @@
'use strict';
define(
[
'vent',
'backgrid'
], function (vent, Backgrid) {
var vent = require('../../../vent');
var Backgrid = require('backgrid');
return Backgrid.Row.extend({
className: 'log-row',
events: {
'click': '_showDetails'
},
_showDetails: function () {
vent.trigger(vent.Commands.ShowLogDetails, { model: this.model });
}
});
});
module.exports = Backgrid.Row.extend({
className : 'log-row',
events : {"click" : '_showDetails'},
_showDetails : function(){
vent.trigger(vent.Commands.ShowLogDetails, {model : this.model});
}
});