Skip to content

Commit

Permalink
Merge pull request #86 from nfriedly/master
Browse files Browse the repository at this point in the history
Slight modifications for jam.js support (partially fixes #79)
  • Loading branch information
SlexAxton committed Jan 29, 2013
2 parents c9588f6 + 979f508 commit 6dcbbf0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
define: false, process: false, window: false */
define([
//>>excludeStart('excludeHbs', pragmas.excludeHbs)
'handlebars', 'underscore', 'i18nprecompile', 'json2'
'./handlebars', './hbs/underscore', './hbs/i18nprecompile', './hbs/json2'
//>>excludeEnd('excludeHbs')
], function (
//>>excludeStart('excludeHbs', pragmas.excludeHbs)
Expand Down
2 changes: 1 addition & 1 deletion hbs/i18nprecompile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//>>excludeStart('excludeAfterBuild', pragmas.excludeAfterBuild)
define(['handlebars', "underscore"], function ( Handlebars, _ ) {
define(['../handlebars', "./underscore"], function ( Handlebars, _ ) {

function replaceLocaleStrings ( ast, mapping, options ) {
options = options || {};
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@
"dependencies": {
"Handlebars": "https://raw.github.com/SlexAxton/require-handlebars-plugin/master/Handlebars.js"
}
},
"jam": {
"name": "hbs",
"dependencies": {
"handlebars": null
}
}
}

0 comments on commit 6dcbbf0

Please sign in to comment.