This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from dmapper/patch-racer
patch racer to fix problem related to cutting code by metro bundler i…
- Loading branch information
Showing
6 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"dependencies": { | ||
"racer": "^0.9.3" | ||
"racer": "0.9.9" | ||
}, | ||
"author": "cray0000 <[email protected]>", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/node_modules/racer/lib/Model/events.js b/node_modules/racer/lib/Model/events.js | ||
index e5aaf3f..c68c10a 100644 | ||
--- a/node_modules/racer/lib/Model/events.js | ||
+++ b/node_modules/racer/lib/Model/events.js | ||
@@ -241,7 +241,7 @@ Model.prototype.removeContextListeners = function(value) { | ||
* @param {string} eventType | ||
*/ | ||
function eventListener(model, eventType, arg2, arg3, arg4) { | ||
- var subpattern, options, cb; | ||
+ var subpattern, options, cb, useEventObjects; | ||
if (arg4) { | ||
// on(eventType, path, options, cb) | ||
subpattern = arg2; | ||
@@ -262,7 +262,7 @@ function eventListener(model, eventType, arg2, arg3, arg4) { | ||
} | ||
if (options) { | ||
if (options.useEventObjects) { | ||
- var useEventObjects = true; | ||
+ useEventObjects = true; | ||
} | ||
} |