Permalink
Browse files

[enhance] plugins: Set the default syntax for javascript plugins to t…

…he new syntax (jsdoc like)
  • Loading branch information...
1 parent b106a57 commit a3b650de97b9faab5ee9af892a14dec001eca99d @BourgerieQuentin BourgerieQuentin committed Dec 10, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 compiler/libbsl/bslregister.ml
  2. +1 −1 compiler/opalib/opaEnv.ml
@@ -60,7 +60,7 @@ let js_validator = ref (Some "js")
let js_validator_files = MutableList.create ()
let js_validator_options = MutableList.create ()
let pprocess = ref None
-let js_bypass_syntax : [`classic | `jsdoc] ref = ref `classic
+let js_bypass_syntax : [`classic | `jsdoc] ref = ref `jsdoc
let cwd = Sys.getcwd ()
let is_default_lib = ref true
@@ -915,7 +915,7 @@ struct
parallelism = !ArgParser.parallelism;
package_version = !ArgParser.package_version;
- js_classic_bypass_syntax = !js_bypass_syntax = `classic;
+ js_classic_bypass_syntax = !js_bypass_syntax = `jsdoc;
backtrace = !ArgParser.backtrace;
}

0 comments on commit a3b650d

Please sign in to comment.