Skip to content

Commit a004b0d

Browse files
committed
Fix examples using removed "strictMode" property
This property was changed to "unsafeBindings" before release. Also update all example dependencies to tabris-decorators to version 3.4.0.
1 parent e90fd70 commit a004b0d

File tree

45 files changed

+45
-45
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+45
-45
lines changed

examples/bind-and-convert-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"optionalDependencies": {
88
"tabris": "^3.3.0",
9-
"tabris-decorators": "3.3.0"
9+
"tabris-decorators": "3.4.0"
1010
},
1111
"devDependencies": {
1212
"typescript": "3.3.x"

examples/bind-and-convert/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"optionalDependencies": {
88
"tabris": "^3.3.0",
9-
"tabris-decorators": "3.3.0"
9+
"tabris-decorators": "3.4.0"
1010
},
1111
"devDependencies": {
1212
"typescript": "3.3.x"

examples/bind-and-convert/src/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {CheckBox, CheckBoxSelectEvent, Color, contentView, Stack} from 'tabris';
22
import {injector} from 'tabris-decorators';
33
import {ExampleComponent} from './ExampleComponent';
44

5-
injector.jsxProcessor.strictMode = true;
5+
injector.jsxProcessor.unsafeBindings = 'error';
66

77
const time1 = new Date(0, 0, 0, 10, 30);
88
const time2 = new Date(0, 0, 0, 22, 45);

examples/bind-itempicker-list-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"optionalDependencies": {
88
"tabris": "^3.3.0",
9-
"tabris-decorators": "3.3.0"
9+
"tabris-decorators": "3.4.0"
1010
},
1111
"devDependencies": {
1212
"typescript": "3.3.x"

examples/bind-itempicker-list/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"optionalDependencies": {
88
"tabris": "^3.3.0",
9-
"tabris-decorators": "3.3.0"
9+
"tabris-decorators": "3.4.0"
1010
},
1111
"devDependencies": {
1212
"typescript": "3.3.x"

examples/bind-itempicker-list/src/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {injector, List} from 'tabris-decorators';
33
import {ExampleComponent} from './ExampleComponent';
44
import {generate, Person} from './Person';
55

6-
injector.jsxProcessor.strictMode = true;
6+
injector.jsxProcessor.unsafeBindings = 'error';
77

88
const items: List<Person> = List.from(generate(10));
99

examples/bind-listview-array-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"optionalDependencies": {
88
"tabris": "^3.3.0",
9-
"tabris-decorators": "3.3.0"
9+
"tabris-decorators": "3.4.0"
1010
},
1111
"devDependencies": {
1212
"typescript": "3.3.x"

examples/bind-listview-array/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"optionalDependencies": {
88
"tabris": "^3.3.0",
9-
"tabris-decorators": "3.3.0"
9+
"tabris-decorators": "3.4.0"
1010
},
1111
"devDependencies": {
1212
"typescript": "3.3.x"

examples/bind-listview-array/src/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {Color, contentView, Stack, TextView} from 'tabris';
22
import {injector} from 'tabris-decorators';
33
import {ExampleComponent} from './ExampleComponent';
44

5-
injector.jsxProcessor.strictMode = true;
5+
injector.jsxProcessor.unsafeBindings = 'error';
66

77
let count = 0;
88
let items: string[] = Array.from(generate(20));

examples/bind-listview-list-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"optionalDependencies": {
88
"tabris": "^3.3.0",
9-
"tabris-decorators": "3.3.0"
9+
"tabris-decorators": "3.4.0"
1010
},
1111
"devDependencies": {
1212
"typescript": "3.3.x"

0 commit comments

Comments
 (0)