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: README.md
+15-18Lines changed: 15 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,21 +50,6 @@ in state of the art model frameworks through lightweight and declarative attribu
50
50
51
51
It's achieved using attribute type annotations, which feels in much like statically typed programming language. Yet, this annotations are vanilla JavaScript, no transpiler step is required.
52
52
53
-
### Safety
54
-
55
-
NestedTypes check types on every model update and perform dynamic type casts to ensure that attributes will always hold values of proper type.
56
-
57
-
As result, NestedTypes models are extremely reliable. It's impossible to break client-server protocol with inaccurate attribute assignment. If something will go really wrong, it will fix an error and warn you with a messages in the console.
58
-
59
-
### Performance
60
-
NestedTypes uses attribute type information for sophisticated optimizations targeting modern JS JIT engines.
61
-
62
-
Compared to backbonejs, model updates are up to 40 times faster in Chrome/nodejs, and at least 4 times faster in other browsers.
63
-

64
-
65
-
### How it looks like
66
-
It looks and feels in much like statically typed language.
> Types are being checked in run-time on assignment, but instead of throwing exceptions it tries to cast values to defined types.
83
+
84
+
### Safety
85
+
86
+
NestedTypes check types on every model update and perform dynamic type casts to ensure that attributes will always hold values of proper type.
87
+
88
+
As result, NestedTypes models are extremely reliable. It's impossible to break client-server protocol with inaccurate attribute assignment. If something will go really wrong, it will fix an error and warn you with a messages in the console.
NestedTypes uses attribute type information for sophisticated optimizations targeting modern JS JIT engines.
106
+
107
+
Compared to backbonejs, model updates are up to 40 times faster in Chrome/nodejs, and at least 4 times faster in other browsers.
108
+

109
+
113
110
## Installation & Requirements
114
111
> CommonJS (node.js, browserify):
115
112
@@ -138,13 +135,13 @@ NestedTypes requires modern JS environment with support for native properties.
138
135
It's tested in `IE 9+`, `Chrome`, `Safari`, `Firefox`, which currently gives you about 95%
139
136
of all browsers being used for accessing the web.
140
137
141
-
`node.js`and `io.js` are also supported.
138
+
`node.js`is also supported.
142
139
143
140
### Packaging and dependencies
144
141
145
142
NestedTypes itself is packaged as UMD (Universal Module Definition) module, and should load dependencies properly in any environment.
146
143
147
-
NestedTypes require`underscore` and `backbone` libraries. They either must be included globally with `<script>`tag or, if `CommonJS`/`AMD` loaders are used, be accessible by their standard module names.
144
+
NestedTypes requires`underscore` and `jquery` libraries. They either must be included globally with `<script>`tag or, if `CommonJS`/`AMD` loaders are used, be accessible by their standard module names.
0 commit comments