File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " is-pure-function" ,
3- "version" : " 1.0.3 " ,
3+ "version" : " 1.0.4 " ,
44 "description" : " Return true, if function is pure." ,
55 "main" : " src/is-pure-function.js" ,
66 "scripts" : {
1818 ],
1919 "dependencies" : {},
2020 "devDependencies" : {
21- "webpack" : " >=1.0.0 " ,
21+ "webpack" : " ^1.13.2 " ,
2222 "mocha" : " ^3.0.2" ,
23- "opener" : " * "
23+ "opener" : " ^1.4.2 "
2424 },
2525 "author" : " uid-11222" ,
2626 "bugs" : {
Original file line number Diff line number Diff line change 88< script src ="es3.js "> </ script >
99
1010< script >
11+ /**
12+ * Throw error, if value is not true.
13+ * @param {* } value
14+ * @param {string } msg
15+ * @throws {Error }
16+ */
1117function assert ( value , msg ) {
1218 if ( value !== true ) throw Error ( 'Assert ' + ( msg || '' ) ) ;
1319}
Original file line number Diff line number Diff line change 88< script src ="es6.js "> </ script >
99
1010< script >
11+ /**
12+ * Throw error, if value is not true.
13+ * @param {* } value
14+ * @param {string } msg
15+ * @throws {Error }
16+ */
1117function assert ( value , msg ) {
1218 if ( value !== true ) throw Error ( 'Assert ' + ( msg || '' ) ) ;
1319}
You can’t perform that action at this time.
0 commit comments