Skip to content

Instantly share code, notes, and snippets.

View jeeeez's full-sized avatar
🎯
Focusing

JF jeeeez

🎯
Focusing
View GitHub Profile
@jeeeez
jeeeez / angularjs_directive_attribute_explanation.md
Created July 7, 2016 14:09 — forked from CMCDragonkai/angularjs_directive_attribute_explanation.md
JS: AngularJS Directive Attribute Binding Explanation

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>
@jeeeez
jeeeez / npm.taobao.sh
Created March 9, 2018 05:02 — forked from 52cik/npm.taobao.sh
npm 淘宝镜像配置
npm set registry https://registry.npm.taobao.org # 注册模块镜像
npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像
## 以下选择添加
npm set chromedriver_cdnurl http://cdn.npm.taobao.org/dist/chromedriver # chromedriver 二进制包镜像
npm set operadriver_cdnurl http://cdn.npm.taobao.org/dist/operadriver # operadriver 二进制包镜像
npm set phantomjs_cdnurl http://cdn.npm.taobao.org/dist/phantomjs # phantomjs 二进制包镜像
npm set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass # node-sass 二进制包镜像
npm set electron_mirror http://cdn.npm.taobao.org/dist/electron/ # electron 二进制包镜像
TypeScript 10 hrs 17 mins ████████████████████░ 95.7%
JSON 18 mins ▌░░░░░░░░░░░░░░░░░░░░ 3.0%
JavaScript 7 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.2%
Other 0 secs ░░░░░░░░░░░░░░░░░░░░░ 0.1%
SCSS 0 secs ░░░░░░░░░░░░░░░░░░░░░ 0.0%
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { StandardTokenType } from 'vs/editor/common/modes';
import { CharCode } from 'vs/base/common/charCode';
class ParserContext {
public readonly text: string;