Skip to content

Commit d38cab6

Browse files
committed
Update imports to match latest version of APM
1 parent 41b3b7d commit d38cab6

30 files changed

Lines changed: 53 additions & 53 deletions

Doc/canvas_example.ar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
```
1414
اشمل "مـحا"؛
15-
مـحا.اشمل_ملف("Alusus/WebPlatform"، "مـنصة_ويب.أسس")؛
16-
مـحا.اشمل_ملف("Alusus/Http"، "بـننف.أسس")؛
17-
مـحا.اشمل_ملف("Alusus/Json"، "جـيسون.أسس")؛
18-
مـحا.اشمل_ملف("Alusus/Promises"، "مـؤجلات.أسس")؛
15+
مـحا.اشمل_حزمة("Alusus/WebPlatform@0.9"، "مـنصة_ويب.أسس")؛
16+
مـحا.اشمل_حزمة("Alusus/Http@0.3"، "بـننف.أسس")؛
17+
مـحا.اشمل_حزمة("Alusus/Json@0.2"، "جـيسون.أسس")؛
18+
مـحا.اشمل_حزمة("Alusus/Promises@0.1"، "مـؤجلات.أسس")؛
1919
اشمل "مـتم/سندات"؛
2020
اشمل "مـتم/مـصفوفة"؛
2121
اشمل "مـتم/نـص"؛
@@ -410,7 +410,7 @@
410410
```
411411
import "Srl/Math";
412412
import "Apm";
413-
Apm.importFile("Alusus/WebPlatform");
413+
Apm.importPackage("Alusus/WebPlatform@0.9");
414414
use Srl;
415415
use WebPlatform;
416416

Doc/canvas_example.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
```
1212
import "Srl/Math";
1313
import "Apm";
14-
Apm.importFile("Alusus/WebPlatform");
14+
Apm.importPackage("Alusus/WebPlatform@0.9");
1515
use Srl;
1616
use WebPlatform;
1717

Doc/chat_example.ar.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
اشمل "مـتم/نـظام"؛
1515
اشمل "بـناء"؛
1616
اشمل "مـحا"؛
17-
مـحا.اشمل_ملف("Alusus/WebPlatform"، "مـنصة_ويب.أسس")؛
18-
مـحا.اشمل_ملف("Alusus/Http"، "بـننف.أسس")؛
19-
مـحا.اشمل_ملف("Alusus/Json"، "جـيسون.أسس")؛
17+
مـحا.اشمل_حزمة("Alusus/WebPlatform@0.9"، "مـنصة_ويب.أسس")؛
18+
مـحا.اشمل_حزمة("Alusus/Http@0.3"، "بـننف.أسس")؛
19+
مـحا.اشمل_حزمة("Alusus/Json@0.2"، "جـيسون.أسس")؛
2020
اشمل "مـتم/سندات"؛
2121
اشمل "مـتم/مـصفوفة"؛
2222
اشمل "مـتم/نـص"؛
@@ -456,7 +456,7 @@
456456
```
457457
import "Build";
458458
import "Apm";
459-
Apm.importFile("Alusus/WebPlatform");
459+
Apm.importPackage("Alusus/WebPlatform@0.9");
460460
use Srl;
461461
use WebPlatform;
462462

Doc/chat_example.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
```
1212
import "Build";
1313
import "Apm";
14-
Apm.importFile("Alusus/WebPlatform");
14+
Apm.importPackage("Alusus/WebPlatform@0.9");
1515
use Srl;
1616
use WebPlatform;
1717

Doc/components.ar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ class SlidingPanelPosition {
575575

576576
```
577577
اشمل "مـحا"؛
578-
مـحا.اشمل_ملف("Alusus/WebPlatform"، "مـنصة_ويب.أسس")؛
578+
مـحا.اشمل_حزمة("Alusus/WebPlatform@0.9"، "مـنصة_ويب.أسس")؛
579579
استخدم مـنصة_ويب؛
580580
581581
@منفذ_مرئي["/"]
@@ -624,7 +624,7 @@ class SlidingPanelPosition {
624624

625625
```
626626
import "Apm";
627-
Apm.importFile("Alusus/WebPlatform");
627+
Apm.importPackage("Alusus/WebPlatform@0.9");
628628
use WebPlatform;
629629
630630
@uiEndpoint["/"]

Doc/components.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class SlidingPanelPosition {
368368

369369
```
370370
import "Apm";
371-
Apm.importFile("Alusus/WebPlatform");
371+
Apm.importPackage("Alusus/WebPlatform@0.9");
372372
use WebPlatform;
373373
374374
@uiEndpoint["/"]

Examples/canvas.alusus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "Srl/Math";
22
import "Apm";
3-
Apm.importFile("Alusus/WebPlatform");
3+
Apm.importPackage("Alusus/WebPlatform@0.9");
44
use Srl;
55
use WebPlatform;
66

Examples/chat.alusus

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import "Build";
22
import "Apm";
3-
Apm.importFile("Alusus/Threading");
4-
Apm.importFile("Alusus/WebPlatform");
3+
Apm.importPackage("Alusus/Threading@0.1");
4+
Apm.importPackage("Alusus/WebPlatform@0.9");
55
use Srl;
66
use WebPlatform;
77

Examples/checkbox_test.alusus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "Srl/Console";
22
import "Apm";
3-
Apm.importFile("Alusus/WebPlatform");
3+
Apm.importPackage("Alusus/WebPlatform@0.9");
44
use Srl;
55
use WebPlatform;
66

Examples/components_example.alusus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import "Apm";
2-
Apm.importFile("Alusus/WebPlatform");
2+
Apm.importPackage("Alusus/WebPlatform@0.9");
33
use Srl;
44
use WebPlatform;
55

0 commit comments

Comments
 (0)