Skip to content

Commit f3826d9

Browse files
authoredMar 8, 2017
Merge pull request #15 from phadej/meteor
issue with module exports in certain frameworks (Meteor, Electrion). …
2 parents c07321c + b3c6783 commit f3826d9

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed
 

‎.travis.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
language: node_js
21
sudo: false
2+
language: node_js
3+
34
node_js:
4-
- "0.12"
5-
- "0.11"
6-
- "0.10"
7-
- "iojs"
5+
- "6.1"
6+
- "6.0"
7+
- "4.4"
8+
9+
branches:
10+
only:
11+
- master

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eslint :
2626
jscs :
2727
$(JSCS) $(SRC)
2828

29-
mocha :
29+
mocha :
3030
$(MOCHA) --reporter=spec test
3131

3232
istanbul :

‎README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $ rjson relaxed-json.js
4646
Error on line 27: Unexpected character: (
4747
(function () {
4848

49-
% rjson package.json
49+
% rjson package.json
5050
{
5151
"name": "relaxed-json",
5252
"description": "Relaxed JSON is strict superset JSON, relaxing strictness of valilla JSON",
@@ -56,6 +56,10 @@ Error on line 27: Unexpected character: (
5656
5757
## Changelog
5858
59+
- 1.0.1 — 2017-03-08 — Meteor compatibility
60+
- [#9](https://github.com/phadej/relaxed-json/issues/9)
61+
[#14](https://github.com/phadej/relaxed-json/pull/14)
62+
[#15](https://github.com/phadej/relaxed-json/pull/15)
5963
- 1.0.0 — 2015-07-13 — Stable release
6064
- Forward slashes bug fixed
6165
- 0.2.9 Dependencies bump

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "relaxed-json",
33
"description": "Relaxed JSON is strict superset JSON, relaxing strictness of valilla JSON",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"homepage": "https://github.com/phadej/relaxed-json",
66
"author": {
77
"name": "Oleg Grenrus",

‎relaxed-json.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,9 @@
582582
/* global window, module */
583583
if (typeof window !== "undefined") {
584584
window.RJSON = RJSON;
585-
} else if (typeof module !== "undefined") {
585+
}
586+
587+
if (typeof module !== "undefined") {
586588
module.exports = RJSON;
587589
}
588590
}());

0 commit comments

Comments
 (0)
Please sign in to comment.