上一页 1 ··· 449 450 451 452 453 454 455 456 457 ··· 494 下一页
摘要: In addition to being able to retrieve a path from a Falcor Model, you can also retrieve multiple Path Sets. Path Sets are paths that contain ranges or... 阅读全文
posted @ 2015-11-19 02:16 Zhentiw 阅读(206) 评论(0) 推荐(0)
摘要: 1. Use or create a database:use wandRecorderYou will use keyword to create or fetch a exicting database.2. Find all documents in the database.db.wands... 阅读全文
posted @ 2015-11-15 23:49 Zhentiw 阅读(291) 评论(0) 推荐(0)
摘要: Protractor is an end-to-end testing library for AngularJS.Install:npm install -g protractorThis will install two command line tools,protractorandwebdr... 阅读全文
posted @ 2015-11-15 05:19 Zhentiw 阅读(253) 评论(0) 推荐(0)
摘要: Refer:http://toddmotto.com/super-fast-angular-ng-model-options-limit-digest-cycles/Use:With Angular Formly:Refer:http://angular-formly.com/#/example/f... 阅读全文
posted @ 2015-11-14 23:28 Zhentiw 阅读(265) 评论(0) 推荐(0)
摘要: The application will dislay a some catalogs, and each catalog has title image, description.Catalog:import React from 'react';import AppStore from '../... 阅读全文
posted @ 2015-11-14 23:12 Zhentiw 阅读(314) 评论(0) 推荐(0)
摘要: Store, in Flux which manager the state of the application.You can use EventEmiiter to listen to the change to state.import {dispatch, register} from '... 阅读全文
posted @ 2015-11-14 22:44 Zhentiw 阅读(222) 评论(0) 推荐(0)
摘要: GO to setting, search Terminal:Change shell path :C:\cygwin\bin\bash.exe --login -i (to the local which you install cygwin)Change the default pwd to ... 阅读全文
posted @ 2015-11-13 01:57 Zhentiw 阅读(270) 评论(0) 推荐(0)
摘要: ng-show:ng-show element will stay in dom, just added a ng-hide attr, so it won't show.ng-if:It has its own scope.Element is not display in the dom if ... 阅读全文
posted @ 2015-11-12 03:27 Zhentiw 阅读(308) 评论(0) 推荐(0)
摘要: Convenient method to find one item in an array, avoid writing and for + if:let arys = [1,,5,,6] ;let target = 6;let res = arys.find(item => item === t... 阅读全文
posted @ 2015-11-12 03:23 Zhentiw 阅读(554) 评论(0) 推荐(0)
摘要: In es5, you can use indexOf to get the index of one item in an array.In es6, you can use findIndex(), which is more prowful:[NaN].indexOf(NaN) // -1[N... 阅读全文
posted @ 2015-11-12 03:16 Zhentiw 阅读(609) 评论(0) 推荐(0)
上一页 1 ··· 449 450 451 452 453 454 455 456 457 ··· 494 下一页