Skip to content

Commit 509ba70

Browse files
committed
Fixed can't find global object in webpack
1 parent 79f26ea commit 509ba70

30 files changed

+100
-100
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Ma Bingyao <[email protected]>",
33
"name": "hprose-html5",
4-
"version": "2.0.17",
4+
"version": "2.0.18",
55
"description": "Hprose is a High Performance Remote Object Service Engine.",
66
"keywords": [
77
"hprose",

dist/hprose-html5.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/hprose-html5.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/hprose-html5.src.js

Lines changed: 45 additions & 45 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hprose-html5",
33
"filename": "hprose-html5.js",
4-
"version": "2.0.17",
4+
"version": "2.0.18",
55
"description": "Hprose is a High Performance Remote Object Service Engine.",
66
"homepage": "https://github.com/andot/hprose",
77
"keywords": [

src/APICloudTcpSocket.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* *
1313
* APICloud tcp socket for HTML5. *
1414
* *
15-
* LastModified: Mar 8, 2016 *
15+
* LastModified: Sep 29, 2016 *
1616
* Author: Ma Bingyao <[email protected]> *
1717
* *
1818
\**********************************************************/
@@ -129,4 +129,4 @@
129129

130130
global.hprose.APICloudTcpSocket = APICloudTcpSocket;
131131

132-
})(this);
132+
})(this || [eval][0]('this'));

src/Base64.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* *
1313
* Base64 for HTML5. *
1414
* *
15-
* LastModified: Mar 2, 2016 *
15+
* LastModified: Sep 29, 2016 *
1616
* Author: Ma Bingyao <[email protected]> *
1717
* *
1818
\**********************************************************/
@@ -131,4 +131,4 @@
131131
})();
132132
}
133133

134-
})(this);
134+
})(this || [eval][0]('this'));

src/BytesIO.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* *
1414
* hprose BytesIO for HTML5. *
1515
* *
16-
* LastModified: Sep 28, 2016 *
16+
* LastModified: Sep 29, 2016 *
1717
* Author: Ma Bingyao <[email protected]> *
1818
* *
1919
\**********************************************************/
@@ -620,4 +620,4 @@
620620

621621
global.hprose.BytesIO = BytesIO;
622622

623-
})(this);
623+
})(this || [eval][0]('this'));

src/ChromeTcpSocket.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* *
1313
* chrome tcp socket for JavaScript. *
1414
* *
15-
* LastModified: Mar 2, 2016 *
15+
* LastModified: Sep 29, 2016 *
1616
* Author: Ma Bingyao <[email protected]> *
1717
* *
1818
\**********************************************************/
@@ -178,4 +178,4 @@
178178

179179
global.hprose.ChromeTcpSocket = ChromeTcpSocket;
180180

181-
})(this);
181+
})(this || [eval][0]('this'));

src/ClassManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* *
1414
* hprose ClassManager for HTML5. *
1515
* *
16-
* LastModified: Feb 23, 2016 *
16+
* LastModified: Sep 29, 2016 *
1717
* Author: Ma Bingyao <[email protected]> *
1818
* *
1919
\**********************************************************/
@@ -49,4 +49,4 @@
4949

5050
register(Object, 'Object');
5151

52-
})(this);
52+
})(this || [eval][0]('this'));

0 commit comments

Comments
 (0)