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
+8 -10
View File
@@ -1,11 +1,9 @@
'use strict';
define(
[
'handlebars'
], function (Handlebars) {
Handlebars.registerHelper("debug", function () {
console.group('Handlebar context');
console.log(this);
console.groupEnd();
});
var Handlebars = require('handlebars');
module.exports = (function(){
Handlebars.registerHelper('debug', function(){
console.group('Handlebar context');
console.log(this);
console.groupEnd();
});
}).call(this);