Skip to content

Commit

Permalink
LinkedInAtticGH-32 - populate dust.helpers using iteration
Browse files Browse the repository at this point in the history
in lib/dust-helpers.js

force a failing script loading order by reworking existing specRunners
- server - sandwich dust.helpers.tapper assignment between dust and
  dust.helpers assignment
- client - use LABjs to force a specific script-loading order to achieve
  equivalent effect as the server
  • Loading branch information
mouyang committed Jan 16, 2014
1 parent e786ffd commit 278111e
Show file tree
Hide file tree
Showing 4 changed files with 624 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/dust-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ var helpers = {

};

dust.helpers = helpers;
for (var key in helpers) {
dust.helpers[key] = helpers[key];
}

})(typeof exports !== 'undefined' ? module.exports = require('dustjs-linkedin') : dust);
Loading

0 comments on commit 278111e

Please sign in to comment.