haplo 2.2.5-java → 2.3.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/haplo.gemspec +2 -2
- data/lib/js.jar +0 -0
- data/lib/js_syntax_test.js +1 -0
- data/lib/jshint.js +12032 -3950
- data/lib/syntax_checking.rb +1 -0
- data/lib/version.txt +1 -1
- metadata +2 -2
data/lib/syntax_checking.rb
CHANGED
|
@@ -31,6 +31,7 @@ module PluginTool
|
|
|
31
31
|
# Set up interpreter and get a syntax checker function
|
|
32
32
|
raise "Another JS Context is active" unless nil == Context.getCurrentContext()
|
|
33
33
|
@@cx = Context.enter();
|
|
34
|
+
@@cx.setLanguageVersion(Context::VERSION_ES6)
|
|
34
35
|
@@javascript_scope = @@cx.initStandardObjects();
|
|
35
36
|
jshint = File.open("#{File.dirname(__FILE__)}/jshint.js") { |f| f.read }
|
|
36
37
|
@@cx.evaluateString(@@javascript_scope, jshint, "<jshint.js>", 1, nil);
|
data/lib/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
aee7fc8
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: haplo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Haplo Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-10-
|
|
11
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Development tools for developing Haplo plugins, see http://haplo.org
|
|
14
14
|
email: client.services@haplo-services.com
|