Commit Graph

15 Commits

Author SHA1 Message Date
Pig Fang
04a88a2e30 build: remove commonjs exports 2017-12-24 11:40:15 +08:00
Pig Fang
e4ee22ad75 Fix missing parameter 2017-12-16 11:15:18 +08:00
Pig Fang
bec9bdf3f3 Fix iterating items for closet and skin library
`for...of` is a feature of ES6,
however Babel will transpile this syntax to `Symbol.iterator()`,
which does not supported on IE11.
We won't add `Symbol` polyfill,
because it will increase JS file size.
`Array.prototype.reduce` is of ES5 and supported on IE11.
2017-12-16 11:03:37 +08:00
gplane
b834264c3e Update JavaScript tests 2017-11-29 13:52:32 +08:00
Pig Fang
4ebd54707e Update JavaScript tests 2017-11-26 23:57:52 +08:00
Pig Fang
42a42ef8c7 Use async/await and update tests 2017-11-08 13:33:03 +08:00
printempw
d5f7c704dd Add dangling commas in module.exports 2017-08-01 14:42:17 +08:00
printempw
3e798d9cc5 Simplify the form of catching ajax errors 2017-08-01 12:24:32 +08:00
printempw
07110d2580 Fix adding event listener using jQuery 2017-08-01 12:19:23 +08:00
printempw
f29ab3042d Fix XSS when searching skinlib 2017-07-31 12:51:00 +08:00
printempw
153f515f15 Minor bug fixes for tests 2017-07-28 18:22:59 +08:00
gplane
d1faaf64f5 Add unit test for JavaScript files 2017-07-20 15:36:59 +08:00
printempw
52a18195cd Use ES6 destructuring assignment syntax 2017-07-14 09:34:09 +08:00
printempw
eb0e5bc589 Fix clearing current filters when switching laguage 2017-07-14 08:47:42 +08:00
printempw
104f5a32a7 Refactor & modulize JavaScript files 2017-07-13 17:03:21 +08:00