You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sample Open Source Implementations/head/commentedExample.srlx
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ dependencies =
8
8
//Each scope can have its own variables with values and independant values!
9
9
10
10
//Every scope can read and write parent scopes variables however by changing them, it will only affect local one and not parents one!
11
-
$name; //"app" ($ obtains value "app")
11
+
$name; //"app" ($ obtains value from variable, in this case "app")
12
12
$name = "no longer app lol!";
13
13
14
14
composition-api = "^1.0.0-beta.21", //This is one of the variables of this scope...
@@ -96,11 +96,24 @@ devDependencies =
96
96
}
97
97
};
98
98
99
+
//Since 1.2.5 Serializer fully supports Json and JavaScript object!
100
+
jsonCrossover =
101
+
{
102
+
"hello" : "Hello world I am Javascript object notation!";
103
+
"jsonObject" :
104
+
{
105
+
name: "John",
106
+
age: 31,
107
+
city: "New York"
108
+
};
109
+
"jsonArray" : [1, 2, 3, 4];
110
+
},
111
+
99
112
//Variable "bullshit" cant be accessed here yet!
100
113
bullshit =
101
114
{
102
115
//This scope cant access variable that is stored by (bullshit), because variables are always created after its value (Scope in this case) is constructed!
0 commit comments