上一页 1 ··· 349 350 351 352 353 354 355 356 357 ··· 491 下一页
摘要: import { Http, Response, ResponseOptions } from '@angular/http'; import { TestBed } from '@angular/core/testing'; import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/... 阅读全文
posted @ 2017-05-03 14:50 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要: We can write reusable styles with the SCSS @extend or @mixin directives. Which one is better? It depends. A better question is, how do they differ?Ext 阅读全文
posted @ 2017-05-02 23:56 Zhentiw 阅读(264) 评论(0) 推荐(0)
摘要: In this lesson you will learn what a LoopBack model is, you will create a Product model using the LoopbBack CLI. The product model will be based off t 阅读全文
posted @ 2017-05-02 04:06 Zhentiw 阅读(201) 评论(0) 推荐(0)
摘要: Learn how to create random integers using JavaScript / TypeScript. 阅读全文
posted @ 2017-05-01 22:56 Zhentiw 阅读(474) 评论(0) 推荐(0)
摘要: import { TestBed, ComponentFixture } from '@angular/core/testing'; import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; import { Fil... 阅读全文
posted @ 2017-04-30 22:41 Zhentiw 阅读(230) 评论(0) 推荐(0)
摘要: import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'filesize' }) export class FileSizePipe implements PipeTransform { transform(size: number, extension: string = 'MB') { retu... 阅读全文
posted @ 2017-04-30 15:53 Zhentiw 阅读(273) 评论(0) 推荐(0)
摘要: In this lesson, we will use Chai's request method to test our Node application's API responses.By the end of this lesson, you will know how to:- insta 阅读全文
posted @ 2017-04-29 01:29 Zhentiw 阅读(340) 评论(0) 推荐(0)
摘要: Say you have an array that has at least one item repeated. How would you find the repeated item. This is a question commonly presented to beginner dev 阅读全文
posted @ 2017-04-28 02:45 Zhentiw 阅读(227) 评论(0) 推荐(0)
摘要: Define a auxilliary router: HTML: Routing by routerLink: Clean auxiliary router: Routing by JS: RouterLink's advantage: Angular will convert routerLin 阅读全文
posted @ 2017-04-27 03:16 Zhentiw 阅读(348) 评论(0) 推荐(0)
摘要: First, start the env: Then cd to our module Create a new app: Create a api.py inside auth_api folder: auth_api/serialilzer.py auth_api/urls.py: top le 阅读全文
posted @ 2017-04-26 18:53 Zhentiw 阅读(332) 评论(0) 推荐(0)
上一页 1 ··· 349 350 351 352 353 354 355 356 357 ··· 491 下一页