revert(format): Revert "chore(format): update to latest formatter"

This reverts commit 03627aa84d.
This commit is contained in:
Alex Rickabaugh
2016-04-12 09:40:37 -07:00
parent 03627aa84d
commit 60727c4d2b
527 changed files with 19247 additions and 13970 deletions

View File

@ -16,16 +16,16 @@ const LIB_MAP = {
ngUpgrade
};
const IGNORE = {
captureStackTrace: true,
stackTraceLimit: true,
toString: true,
originalException: true,
originalStack: true,
wrapperMessage: true,
wrapperStack: true,
'@@observable': true
}
const IGNORE =
{
captureStackTrace: true,
stackTraceLimit: true,
toString: true,
originalException: true,
originalStack: true,
wrapperMessage: true,
wrapperStack: true, '@@observable': true
}
function collectTopLevelSymbols(prefix: string, lib: any):
string[] {

View File

@ -1,4 +1,15 @@
import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from 'angular2/testing_internal';
import {
AsyncTestCompleter,
beforeEach,
ddescribe,
describe,
expect,
iit,
inject,
it,
xdescribe,
xit
} from 'angular2/testing_internal';
import {IS_DART} from 'angular2/src/facade/lang';
import {getSymbolsFromLibrary} from './symbol_inspector';
@ -7,19 +18,38 @@ export function main() {
describe('symbol inspector', () => {
if (IS_DART) {
it('should extract symbols (dart)', () => {
var symbols = getSymbolsFromLibrary('simple_library');
var symbols = getSymbolsFromLibrary("simple_library");
expect(symbols).toEqual([
'A', 'ClosureParam', 'ClosureReturn', 'ConsParamType', 'FieldType', 'Generic',
'GetterType', 'MethodReturnType', 'ParamType', 'SomeInterface', 'StaticFieldType',
'TypedefParam', 'TypedefReturnType'
'A',
'ClosureParam',
'ClosureReturn',
'ConsParamType',
'FieldType',
'Generic',
'GetterType',
'MethodReturnType',
'ParamType',
'SomeInterface',
'StaticFieldType',
'TypedefParam',
'TypedefReturnType'
]);
});
} else {
it('should extract symbols (js)', () => {
var symbols = getSymbolsFromLibrary('simple_library');
var symbols = getSymbolsFromLibrary("simple_library");
expect(symbols).toEqual([
'A', 'ClosureParam', 'ClosureReturn', 'ConsParamType', 'FieldType', 'Generic',
'GetterType', 'MethodReturnType', 'ParamType', 'StaticFieldType', 'TypedefParam',
'A',
'ClosureParam',
'ClosureReturn',
'ConsParamType',
'FieldType',
'Generic',
'GetterType',
'MethodReturnType',
'ParamType',
'StaticFieldType',
'TypedefParam',
'TypedefReturnType'
]);
});