Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Merge pull request #410 from RasterBurn/master
Browse files Browse the repository at this point in the history
Make swig compile on IE8
  • Loading branch information
paularmstrong committed Jan 28, 2014
2 parents e30fd4e + d944ad2 commit 8cd0f2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ exports.date = function (input, format, offset, abbr) {
* @param {*} def Value to return if `input` is `undefined`, `null`, or `false`.
* @return {*} `input` or `def` value.
*/
exports.default = function (input, def) {
exports["default"] = function (input, def) {
return (typeof input !== 'undefined' && (input || typeof input === 'number')) ? input : def;
};

Expand Down
10 changes: 5 additions & 5 deletions lib/tags/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
exports.autoescape = require('./autoescape');
exports.block = require('./block');
exports.else = require('./else');
exports["else"] = require('./else');
exports.elseif = require('./elseif');
exports.elif = exports.elseif;
exports.extends = require('./extends');
exports["extends"] = require('./extends');
exports.filter = require('./filter');
exports.for = require('./for');
exports.if = require('./if');
exports.import = require('./import');
exports["for"] = require('./for');
exports["if"] = require('./if');
exports["import"] = require('./import');
exports.include = require('./include');
exports.macro = require('./macro');
exports.parent = require('./parent');
Expand Down

0 comments on commit 8cd0f2f

Please sign in to comment.