[Pkg-javascript-commits] [node-esprima-fb] 04/06: Make the scripts stop requiring esprima-fb as just esprima

Julien Puydt julien.puydt at laposte.net
Mon Oct 19 21:24:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-esprima-fb.

commit b1b26a8990a1c8cdb5d124974d18409720dcb0d6
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sun Oct 18 22:29:35 2015 +0200

    Make the scripts stop requiring esprima-fb as just esprima
---
 bin/esparse.js    | 2 +-
 bin/esvalidate.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/esparse.js b/bin/esparse.js
index 1727e2f..bd25942 100755
--- a/bin/esparse.js
+++ b/bin/esparse.js
@@ -30,7 +30,7 @@ var fs, esprima, fname, content, options, syntax;
 
 if (typeof require === 'function') {
     fs = require('fs');
-    esprima = require('esprima');
+    esprima = require('esprima-fb');
 } else if (typeof load === 'function') {
     try {
         load('esprima.js');
diff --git a/bin/esvalidate.js b/bin/esvalidate.js
index d1dcab9..3ba3d57 100755
--- a/bin/esvalidate.js
+++ b/bin/esvalidate.js
@@ -36,7 +36,7 @@ if (typeof esprima === 'undefined') {
         esprima = require('./esprima');
     } else if (typeof require === 'function') {
         fs = require('fs');
-        esprima = require('esprima');
+        esprima = require('esprima-fb');
     } else if (typeof load === 'function') {
         try {
             load('esprima.js');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-esprima-fb.git



More information about the Pkg-javascript-commits mailing list