上一页 1 ··· 432 433 434 435 436 437 438 439 440 ··· 494 下一页
摘要: Install Karam: npm install -g karma npm install -g karma-cli Init Karam: karma init First test: 1. Add test file to the karma.conf.js: // list of file 阅读全文
posted @ 2016-03-06 18:14 Zhentiw 阅读(772) 评论(0) 推荐(0)
摘要: Using a character set repeated 1 or more times, make a pattern to search for strings that do not contain the characters 'a', 'e', 'i', 'o', 'u', and ' 阅读全文
posted @ 2016-03-05 21:56 Zhentiw 阅读(218) 评论(0) 推荐(0)
摘要: String to check: As it turns out, our potential shipmates are extremely superstitious. As such, we do not want anyone to enter certain words in their 阅读全文
posted @ 2016-03-05 21:42 Zhentiw 阅读(253) 评论(0) 推荐(0)
摘要: /^-?\d{1,3}\.\d+$/gm 阅读全文
posted @ 2016-03-05 17:54 Zhentiw 阅读(215) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-1.11.3.js"></script> <meta charset="utf-8"> <title>JS Bin</title> </head> <b 阅读全文
posted @ 2016-03-04 15:50 Zhentiw 阅读(195) 评论(0) 推荐(0)
摘要: React doesn't provide the listener to listen the DOM event. But we can do it in React life cycle: So when the compoment did mount, we add listeners to 阅读全文
posted @ 2016-03-04 03:38 Zhentiw 阅读(538) 评论(0) 推荐(0)
摘要: Check the website: https://jmdobry.github.io/angular-cache/#using-angular-cache-with-http Install: npm install --save angular-cache getServiceDetail( 阅读全文
posted @ 2016-03-03 16:33 Zhentiw 阅读(278) 评论(0) 推荐(0)
摘要: React's inline styles allow components to stand on their own by not requiring any external CSS. However HTML's style attributes don't support pseudo s 阅读全文
posted @ 2016-03-02 02:06 Zhentiw 阅读(259) 评论(0) 推荐(0)
摘要: Immutable.js offers methods to break immutable structures into subsets much like Array--for instance it has the all powerful slice()--and unlike Array 阅读全文
posted @ 2016-03-01 03:25 Zhentiw 阅读(220) 评论(0) 推荐(0)
摘要: Immutable.js provides several methods to iterate over an Immutable.Map(). These also apply to the other immutable structures found within the Immutabl 阅读全文
posted @ 2016-03-01 03:16 Zhentiw 阅读(288) 评论(0) 推荐(0)
上一页 1 ··· 432 433 434 435 436 437 438 439 440 ··· 494 下一页