Permalink
Browse files

move init code into init function

  • Loading branch information...
1 parent 6107609 commit 58badddfe05d5f6983f96d35bfe0fc1eed913e6c @redmunds redmunds committed Mar 14, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/LiveDevelopment/LiveDevelopment.js
@@ -776,15 +776,15 @@ define(function LiveDevelopment(require, exports, module) {
// Register user defined server provider
var userServerProvider = new UserServerProvider();
LiveDevServerManager.registerProvider(userServerProvider, 99);
+
+ // Initialize exports.status
+ _setStatus(STATUS_INACTIVE);
}
function _setServerProvider(serverProvider) {
_serverProvider = serverProvider;
}
- // Initialize exports.status
- _setStatus(STATUS_INACTIVE);
-
// For unit testing
exports._pathToUrl = _pathToUrl;
exports._urlToPath = _urlToPath;

0 comments on commit 58baddd

Please sign in to comment.