[Pkg-javascript-commits] [node-acorn-jsx] 26/484: Properly enable strict mode

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:19:59 UTC 2017


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

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit b5e580a876245d926a3a4c0b7e3317bdf4daf455
Author: Marijn Haverbeke <marijnh at gmail.com>
Date:   Sat Oct 6 12:32:45 2012 +0200

    Properly enable strict mode
    
    Closes #8
---
 acorn.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acorn.js b/acorn.js
index 0f04af0..0c01b6a 100644
--- a/acorn.js
+++ b/acorn.js
@@ -14,7 +14,7 @@
 // [ghbt]: https://github.com/marijnh/acorn/issues
 
 (function(exports) {
-  "strict mode";
+  "use strict";
 
   exports.version = "0.0.1";
 

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



More information about the Pkg-javascript-commits mailing list