上一页 1 ··· 435 436 437 438 439 440 441 442 443 ··· 496 下一页
摘要: <!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 阅读(539) 评论(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)
摘要: 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 阅读(260) 评论(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 阅读(222) 评论(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 阅读(289) 评论(0) 推荐(0)
摘要: hapi has built-in support for parsing cookies from a request headers, and writing cookies to a response, making state management easy and straight-for 阅读全文
posted @ 2016-03-01 02:58 Zhentiw 阅读(481) 评论(0) 推荐(0)
摘要: hapi supports request validation out of the box using the joi module. Request path parameters, payloads, and querystring parameters can be validated w 阅读全文
posted @ 2016-03-01 02:53 Zhentiw 阅读(597) 评论(0) 推荐(0)
摘要: The Immutable.js Record() allows you to model your immutable data much like you would model data with native Javascript classes or objects. It differs 阅读全文
posted @ 2016-02-29 15:18 Zhentiw 阅读(428) 评论(0) 推荐(0)
摘要: hapi automatically responds with JSON for any error passed to a route's reply()method. But what if your application needs errors rendered in HTML? Thi 阅读全文
posted @ 2016-02-29 03:45 Zhentiw 阅读(257) 评论(0) 推荐(0)
上一页 1 ··· 435 436 437 438 439 440 441 442 443 ··· 496 下一页