coffee-react 3.4.0 → 4.0.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/coffee-react-transform.js +3 -3
- 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: e4bc2875eb84d5a7523787f2139e8e9e34568933
|
|
4
|
+
data.tar.gz: 04640fd536d3a41d75c447f36dc465f4e6718052
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9233a037475d4bea1981d05c16a8488e7f2a29cb45bcd1d2086867468b7acede4e6c6402950e36fb28ae0589fc55223427dab18951014d9a52c5a717b66b4184
|
|
7
|
+
data.tar.gz: 4382ea8d1a7b7ada37d9a8c404ceb28bfadb6f95ca96171cd5a69d911e5f4b21361f36e5eb773004530447688acfca9d3bcea7a98ad06f64d0d58e8a5146b53d
|
data/coffee-react-transform.js
CHANGED
|
@@ -900,11 +900,11 @@ module.exports = Parser = (function() {
|
|
|
900
900
|
|
|
901
901
|
})();
|
|
902
902
|
|
|
903
|
-
OPENING_TAG = /^<(@?[-A-Za-z0-9_\.]+)((?:(?:(?:\s+[\w-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:{[\s\S]*?})|[^>\s]+)))|\s+[\w-]+|\s+\{\.\.\.\s*?[
|
|
903
|
+
OPENING_TAG = /^<(@?[-A-Za-z0-9_\.]+)((?:(?:(?:\s+[\w-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:{[\s\S]*?})|[^>\s]+)))|\s+[\w-]+|\s+\{\.\.\.\s*?[^{}]+?\s*?\})?)*?\s*)(\/?)>/;
|
|
904
904
|
|
|
905
905
|
CLOSING_TAG = /^<\/(@?[-A-Za-z0-9_\.]+)[^>]*>/;
|
|
906
906
|
|
|
907
|
-
TAG_ATTRIBUTES = /(?:([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:{((?:\\.|[\s\S])*)})|([^>\s]+)))?)|(?:\{\.\.\.(\s*?[
|
|
907
|
+
TAG_ATTRIBUTES = /(?:([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:{((?:\\.|[\s\S])*)})|([^>\s]+)))?)|(?:\{\.\.\.(\s*?[^{}]+?\s*?)\})|([\s\n]+)/;
|
|
908
908
|
|
|
909
909
|
PRAGMA = /^\s*#\s*@cjsx\s+(\S*)/i;
|
|
910
910
|
|
|
@@ -1040,7 +1040,7 @@ Serialiser = (function() {
|
|
|
1040
1040
|
assignsWithWhitespace.push(lastAssignWithWhitespace + trailingWhiteplace);
|
|
1041
1041
|
}
|
|
1042
1042
|
joinedAssigns = joinList(assignsWithWhitespace);
|
|
1043
|
-
return "
|
|
1043
|
+
return "Object.assign(" + (joinList(assignsWithWhitespace)) + ")";
|
|
1044
1044
|
};
|
|
1045
1045
|
|
|
1046
1046
|
Serialiser.prototype.serialiseAttributePairs = function(children) {
|
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:
|
|
4
|
+
version: 4.0.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:
|
|
11
|
+
date: 2016-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: execjs
|