Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
drapanjanas committed Mar 20, 2016
1 parent dfa5cde commit cadeb15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/figwheel-bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var serverHost = null; // will be set dynamically
var fileBasePath = null; // will be set dynamically
var evaluate = eval; // This is needed, direct calls to eval does not work (RN packager???)
var externalModules = {};
var evalListeners = [ // Functions to be called after js file is loaded and evaluated
var evalListeners = [ // Functions to be called after each js file is loaded and evaluated
function (url) {
if (url.indexOf('jsloader') > -1) {
shimJsLoader();
Expand All @@ -30,8 +30,7 @@ var evalListeners = [ // Functions to be called after js file is loaded and eval
if (url.indexOf('/figwheel/client/socket') > -1) {
setCorrectWebSocketImpl();
}
}
];
}];

var figwheelApp = function (platform, devHost) {
return React.createClass({
Expand Down Expand Up @@ -176,6 +175,7 @@ function setCorrectWebSocketImpl() {
return WebSocket;
};
}

function loadApp(platform, devHost, onLoadCb) {
serverHost = devHost;
fileBasePath = config.basePath + platform;
Expand Down

0 comments on commit cadeb15

Please sign in to comment.