上一页 1 ··· 434 435 436 437 438 439 440 441 442 ··· 496 下一页
摘要: /** Let inheritance help with memory efficiency */ function SignalFire(ID, startingLogs){ this.fireID = ID; this.logsLeft = startingLogs; } SignalFire 阅读全文
posted @ 2016-03-06 18:25 Zhentiw 阅读(230) 评论(0) 推荐(0)
摘要: 1.1: <!DOCTYPE html> <html> <head> <base href='http://courseware.codeschool.com/ember/' /> <link href='bootstrap.css' rel='stylesheet' /> <link href=' 阅读全文
posted @ 2016-03-06 18:21 Zhentiw 阅读(235) 评论(0) 推荐(0)
摘要: Create package.json file Pubish to github and tag it Publish to npm Release a new version Publishing a beta version Mocha, chai testing: semantic-rele 阅读全文
posted @ 2016-03-06 18:17 Zhentiw 阅读(368) 评论(0) 推荐(0)
摘要: 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 阅读(774) 评论(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 阅读(196) 评论(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 阅读(279) 评论(0) 推荐(0)
上一页 1 ··· 434 435 436 437 438 439 440 441 442 ··· 496 下一页