Skip to content

Commit 248bffd

Browse files
committed
updated basichtml
1 parent de7d6d4 commit 248bffd

File tree

2 files changed

+21
-53
lines changed

2 files changed

+21
-53
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,16 @@
121121
"url": "https://github.com/WebReflection/hyperhtml/issues"
122122
},
123123
"devDependencies": {
124-
"@babel/core": "^7.8.4",
125-
"@babel/preset-env": "^7.8.4",
124+
"@babel/core": "^7.8.7",
125+
"@babel/preset-env": "^7.8.7",
126126
"ascjs": "^3.1.2",
127-
"basichtml": "^2.0.2",
127+
"basichtml": "^2.1.4",
128128
"coveralls": "^3.0.9",
129129
"drop-babel-typeof": "^1.0.3",
130130
"istanbul": "^0.4.5",
131131
"npm-dollar": "^2.2.1",
132-
"rollup": "^1.31.1",
133-
"rollup-plugin-babel": "^4.3.3",
132+
"rollup": "^2.0.3",
133+
"rollup-plugin-babel": "^4.4.0",
134134
"rollup-plugin-node-resolve": "^5.2.0",
135135
"tressa": "^0.3.1",
136136
"uglify-js": "^3.8.0"

test/ie/test/test.js

+16-48
Original file line numberDiff line numberDiff line change
@@ -2204,9 +2204,7 @@
22042204
}).then(function () {
22052205
tressa.log('## hyper.Component');
22062206

2207-
var Button =
2208-
/*#__PURE__*/
2209-
function (_hyperHTML$Component) {
2207+
var Button = /*#__PURE__*/function (_hyperHTML$Component) {
22102208
_inherits(Button, _hyperHTML$Component);
22112209

22122210
function Button() {
@@ -2225,9 +2223,7 @@
22252223
return Button;
22262224
}(hyperHTML.Component);
22272225

2228-
var Rect =
2229-
/*#__PURE__*/
2230-
function (_hyperHTML$Component2) {
2226+
var Rect = /*#__PURE__*/function (_hyperHTML$Component2) {
22312227
_inherits(Rect, _hyperHTML$Component2);
22322228

22332229
function Rect(state) {
@@ -2252,9 +2248,7 @@
22522248
return Rect;
22532249
}(hyperHTML.Component);
22542250

2255-
var Paragraph =
2256-
/*#__PURE__*/
2257-
function (_hyperHTML$Component3) {
2251+
var Paragraph = /*#__PURE__*/function (_hyperHTML$Component3) {
22582252
_inherits(Paragraph, _hyperHTML$Component3);
22592253

22602254
function Paragraph(state) {
@@ -2311,9 +2305,7 @@
23112305
return tressa.async(function (done) {
23122306
tressa.log('## Component method via data-call');
23132307

2314-
var Paragraph =
2315-
/*#__PURE__*/
2316-
function (_hyperHTML$Component4) {
2308+
var Paragraph = /*#__PURE__*/function (_hyperHTML$Component4) {
23172309
_inherits(Paragraph, _hyperHTML$Component4);
23182310

23192311
function Paragraph() {
@@ -2343,9 +2335,7 @@
23432335
return Paragraph;
23442336
}(hyperHTML.Component);
23452337

2346-
var GlobalEvent =
2347-
/*#__PURE__*/
2348-
function (_hyperHTML$Component5) {
2338+
var GlobalEvent = /*#__PURE__*/function (_hyperHTML$Component5) {
23492339
_inherits(GlobalEvent, _hyperHTML$Component5);
23502340

23512341
function GlobalEvent() {
@@ -2428,9 +2418,7 @@
24282418
}).then(function () {
24292419
tressa.log('## hyper.Component state');
24302420

2431-
var DefaultState =
2432-
/*#__PURE__*/
2433-
function (_hyperHTML$Component6) {
2421+
var DefaultState = /*#__PURE__*/function (_hyperHTML$Component6) {
24342422
_inherits(DefaultState, _hyperHTML$Component6);
24352423

24362424
function DefaultState() {
@@ -2454,9 +2442,7 @@
24542442
return DefaultState;
24552443
}(hyperHTML.Component);
24562444

2457-
var State =
2458-
/*#__PURE__*/
2459-
function (_hyperHTML$Component7) {
2445+
var State = /*#__PURE__*/function (_hyperHTML$Component7) {
24602446
_inherits(State, _hyperHTML$Component7);
24612447

24622448
function State() {
@@ -2514,9 +2500,7 @@
25142500
tressa.log('## Component connected/disconnected');
25152501
var calls = 0;
25162502

2517-
var Paragraph =
2518-
/*#__PURE__*/
2519-
function (_hyperHTML$Component8) {
2503+
var Paragraph = /*#__PURE__*/function (_hyperHTML$Component8) {
25202504
_inherits(Paragraph, _hyperHTML$Component8);
25212505

25222506
function Paragraph() {
@@ -2632,9 +2616,7 @@
26322616
return tressa.async(function (done) {
26332617
tressa.log('## Nested Component connected/disconnected');
26342618

2635-
var GrandChild =
2636-
/*#__PURE__*/
2637-
function (_hyperHTML$Component9) {
2619+
var GrandChild = /*#__PURE__*/function (_hyperHTML$Component9) {
26382620
_inherits(GrandChild, _hyperHTML$Component9);
26392621

26402622
function GrandChild() {
@@ -2663,9 +2645,7 @@
26632645
return GrandChild;
26642646
}(hyperHTML.Component);
26652647

2666-
var Child =
2667-
/*#__PURE__*/
2668-
function (_hyperHTML$Component10) {
2648+
var Child = /*#__PURE__*/function (_hyperHTML$Component10) {
26692649
_inherits(Child, _hyperHTML$Component10);
26702650

26712651
function Child() {
@@ -2697,9 +2677,7 @@
26972677
var connectedTimes = 0,
26982678
disconnectedTimes = 0;
26992679

2700-
var Parent =
2701-
/*#__PURE__*/
2702-
function (_hyperHTML$Component11) {
2680+
var Parent = /*#__PURE__*/function (_hyperHTML$Component11) {
27032681
_inherits(Parent, _hyperHTML$Component11);
27042682

27052683
function Parent() {
@@ -2758,9 +2736,7 @@
27582736
}).then(function () {
27592737
tressa.log('## Declarative Components');
27602738

2761-
var MenuSimple =
2762-
/*#__PURE__*/
2763-
function (_hyperHTML$Component12) {
2739+
var MenuSimple = /*#__PURE__*/function (_hyperHTML$Component12) {
27642740
_inherits(MenuSimple, _hyperHTML$Component12);
27652741

27662742
function MenuSimple() {
@@ -2783,9 +2759,7 @@
27832759
return MenuSimple;
27842760
}(hyperHTML.Component);
27852761

2786-
var MenuWeakMap =
2787-
/*#__PURE__*/
2788-
function (_hyperHTML$Component13) {
2762+
var MenuWeakMap = /*#__PURE__*/function (_hyperHTML$Component13) {
27892763
_inherits(MenuWeakMap, _hyperHTML$Component13);
27902764

27912765
function MenuWeakMap() {
@@ -2808,9 +2782,7 @@
28082782
return MenuWeakMap;
28092783
}(hyperHTML.Component);
28102784

2811-
var MenuItem =
2812-
/*#__PURE__*/
2813-
function (_hyperHTML$Component14) {
2785+
var MenuItem = /*#__PURE__*/function (_hyperHTML$Component14) {
28142786
_inherits(MenuItem, _hyperHTML$Component14);
28152787

28162788
function MenuItem() {
@@ -2865,9 +2837,7 @@
28652837
}).then(function () {
28662838
tressa.log('## Component.dispatch');
28672839

2868-
var Pomponent =
2869-
/*#__PURE__*/
2870-
function (_hyperHTML$Component15) {
2840+
var Pomponent = /*#__PURE__*/function (_hyperHTML$Component15) {
28712841
_inherits(Pomponent, _hyperHTML$Component15);
28722842

28732843
function Pomponent() {
@@ -2891,9 +2861,7 @@
28912861
return Pomponent;
28922862
}(hyperHTML.Component);
28932863

2894-
var Solonent =
2895-
/*#__PURE__*/
2896-
function (_hyperHTML$Component16) {
2864+
var Solonent = /*#__PURE__*/function (_hyperHTML$Component16) {
28972865
_inherits(Solonent, _hyperHTML$Component16);
28982866

28992867
function Solonent() {

0 commit comments

Comments
 (0)