[gnome-maps/wip/refactor2: 2/9] JSHint: Allow multi line strings



commit 0460ea3de8083548dc1af823477bc32f9d45bab6
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Mon Oct 13 19:23:05 2014 +0200

    JSHint: Allow multi line strings
    
    JSHint defaults to not allow multi line strings, probably because of
    buggy browser implementations.
    
    This shouldn't affect us, and is handy when doing dbus calls so allow
    this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699967

 .jshintrc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/.jshintrc b/.jshintrc
index cd6c8cf..1d485d9 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -47,7 +47,7 @@
     "laxbreak"      : false,     // true: Tolerate possibly unsafe line breakings
     "laxcomma"      : false,     // true: Tolerate comma-first style coding
     "loopfunc"      : false,     // true: Tolerate functions being defined in loops
-    "multistr"      : false,     // true: Tolerate multi-line strings
+    "multistr"      : true,      // true: Tolerate multi-line strings
     "proto"         : false,     // true: Tolerate using the `__proto__` property
     "scripturl"     : false,     // true: Tolerate script-targeted URLs
     "smarttabs"     : false,     // true: Tolerate mixed tabs/spaces when used for alignment


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]