Skip to content
Browse files

fixed shakerConfig compatibility with 4 && 5

  • Loading branch information...
1 parent 09db4c4 commit 71bd290de63dac32c29d7155cec5891345cbb3df @diervo diervo committed Oct 10, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 addons/ac/shaker.server.js
  2. +1 −1 package.json
View
2 addons/ac/shaker.server.js
@@ -36,7 +36,7 @@ YUI.add('mojito-shaker-addon', function(Y, NAME) {
_initShaker: function (){
var shakerMeta = YUI._mojito._cache && YUI._mojito._cache.shaker && YUI._mojito._cache.shaker.meta,
config = this._ac.app ? this._ac.app.config.shaker : this._ac.config.getAppConfig().shaker;
- this._shakerConfig = config && config.shaker || {};
+ this._shakerConfig = config || {};
this._meta = shakerMeta || {};
return shakerMeta;
},
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "mojito-shaker",
- "version": "2.0.30",
+ "version": "2.0.31",
"description": "Compiles and deploys asset rollups for Mojito applications.",
"author": "shaker-users@yahoo-inc.com <shaker-users@yahoo-inc.com>",
"contributors": [

0 comments on commit 71bd290

Please sign in to comment.
Something went wrong with that request. Please try again.