Permalink
Browse files

fixed lint issue

  • Loading branch information...
1 parent cb9985e commit 9ed044d6abbbdf16db7db2bf38678de8f71738cb @bthaeler committed Feb 7, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/app/autoload/mojito-client.client.js
@@ -330,11 +330,13 @@ YUI.add('mojito-client', function(Y, NAME) {
MojitoClient.prototype = {
init: function(config) {
- var forwardConfig = {
- config: config,
- // pass globalHookhandler to addons that may want to use hooks
- globalHookHandler: globalHookHandler
- };
+ var that = this,
+ appConfig = config.appConfig,
+ forwardConfig = {
+ config: config,
+ // pass globalHookhandler to addons that may want to use hooks
+ globalHookHandler: globalHookHandler
+ };
fireLifecycle('pre-init', forwardConfig);
// if we didn't originaly have hooks enabled, copy back from config object.
// This is the case where an add-on module wants to turn on hooks and
@@ -345,8 +347,6 @@ YUI.add('mojito-client', function(Y, NAME) {
// HookSystem::StartBlock
Y.mojito.hooks.hook('mojitoClient', globalHookHandler, 'start', this);
// HookSystem::EndBlock
- var that = this,
- appConfig = config.appConfig;
// YUI Console
if (appConfig && appConfig.yui &&

0 comments on commit 9ed044d

Please sign in to comment.