coffee-react 0.3.2 → 0.4.0
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/README.md +2 -0
- data/coffee-react-transform.js +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 221be23805ca7f31a57e8e339c6cd14494d4b529
|
|
4
|
+
data.tar.gz: 6ae3f47fc53183cbea885719a93a6abb179c7f90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e57c3d5f022aff35daaf9ca8fb97aaf0e6c23a91c4716f8c9390b596ed71b96dcefd1defab29307ada2cbbecc945b8b5b1cf53249b1179ee7c43e318f3f1dab
|
|
7
|
+
data.tar.gz: 7578aa1247a7c6424249a5f28de9dfc2cdab8e1c25e8a63a7d5092d6eadc6abd67ce5cd9927962a71a6dedbd8129db5a4e79b58830639d982ce4bb472cab3672
|
data/README.md
CHANGED
|
@@ -24,3 +24,5 @@ standard library.
|
|
|
24
24
|
### ExecJS
|
|
25
25
|
|
|
26
26
|
The [ExecJS](https://github.com/sstephenson/execjs) library is used to automatically choose the best JavaScript engine for your platform. Check out its [README](https://github.com/sstephenson/execjs/blob/master/README.md) for a complete list of supported engines.
|
|
27
|
+
|
|
28
|
+
This gem has been tested against the following ExecJS runtimes: Node, RubyRacer, JavaScriptCore. If you encounter any problems with these or any other ExecJS runtimes, please [create a issue](https://github.com/jsdf/ruby-coffee-react/issues).
|
data/coffee-react-transform.js
CHANGED
|
@@ -984,9 +984,9 @@ module.exports = Parser = (function() {
|
|
|
984
984
|
|
|
985
985
|
})();
|
|
986
986
|
|
|
987
|
-
OPENING_TAG = /^<([-A-Za-z0-9_]+)((?:\s+[\w-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:{[\s\S]*?})|[^>\s]+))?)*?\s*)(\/?)>/;
|
|
987
|
+
OPENING_TAG = /^<([-A-Za-z0-9_\.]+)((?:\s+[\w-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:{[\s\S]*?})|[^>\s]+))?)*?\s*)(\/?)>/;
|
|
988
988
|
|
|
989
|
-
CLOSING_TAG = /^<\/([-A-Za-z0-9_]+)[^>]*>/;
|
|
989
|
+
CLOSING_TAG = /^<\/([-A-Za-z0-9_\.]+)[^>]*>/;
|
|
990
990
|
|
|
991
991
|
TAG_ATTRIBUTES = /(?:([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:{((?:\\.|[\s\S])*)})|([^>\s]+)))?)|([\s\n]+)/;
|
|
992
992
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coffee-react
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Friend
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-06-
|
|
11
|
+
date: 2014-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: execjs
|