###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
These rules are adopted from the AngularJS commit conventions.
| export class TreeUtil<T extends TreeNode<T>> { | |
| map: {[k: string]: number} = {}; | |
| roots: T[] = []; | |
| /** | |
| * @field status | |
| * @type | |
| * 0 - 未成功执行 `config` 方法; | |
| * 1 - 已成功执行 `config` 方法; | |
| */ |
| export class ImageUtil { | |
| constructor() { | |
| } | |
| init() { | |
| window.URL = window.URL || webkitURL; | |
| } |
| declare global { | |
| export type Stringified<T> = string & { | |
| [P in keyof T]: { '_ value': T[P] }; | |
| // [P in keyof T]: T[P] | |
| }; | |
| export interface JSON { | |
| // stringify(value: any, replacer?: (key: string, value: any) => any, space?: string | number): string; | |
| stringify<T>(value: T, replacer?: (key: string, value: any) => any, space?: string | number): string & Stringified<T>; | |
| // parse(text: string, reviver?: (key: any, value: any) => any): any; | |
| parse<T>(text: Stringified<T>, reviver?: (key: any, value: any) => any): T; |