Skip to content

Commit

Permalink
package: update xjst
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed May 16, 2013
1 parent cc3923d commit 788a866
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"esprima": "~1.0.2",
"ometajs": "~3.2.2",
"uglify-js": "~2.3.2",
"xjst": "~0.7.1"
"xjst": "~0.8.0"
},
"devDependencies": {
"mocha": "~1.9.0",
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/i-bem.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = function() {

oninit(function(exports) {
xjst$oninit(function(exports) {

var BEM_ = {},
toString = Object.prototype.toString,
Expand Down Expand Up @@ -262,7 +262,7 @@ exports.apply = BEMContext.apply = function _apply() {
return ctx._buf.join('');
};

}); // oninit
});

match(this._mode === '')(
match()(function() {
Expand All @@ -287,7 +287,7 @@ match(this._mode === '')(
});
}),

match(function() { return this._.isArray(this.ctx) })(function() {
match(this._.isArray(this.ctx))(function() {
var v = this.ctx,
l = v.length,
i = 0,
Expand Down Expand Up @@ -315,7 +315,7 @@ match(this._mode === '')(
this._listLength--;
}),

match(function() { return this._.isSimple(this.ctx) })(function() {
match(this._.isSimple(this.ctx))(function() {
this._listLength--;

var ctx = this.ctx;
Expand Down Expand Up @@ -470,6 +470,6 @@ js()(undefined);
jsAttr()(undefined);
bem()(undefined);
mix()(undefined);
content()(function() { this.ctx.content });
content()(this.ctx.content);

}.toString().replace(/^function\s*\(\)\s*{|}$/g, ''); // module.exports

0 comments on commit 788a866

Please sign in to comment.