feat(material): first ng2 material design components
This commit is contained in:

committed by
Yegor Jbanov

parent
ffe13078e5
commit
f149ae79c6
5
modules/angular2/src/core/application.js
vendored
5
modules/angular2/src/core/application.js
vendored
@ -1,5 +1,6 @@
|
||||
import {Injector, bind, OpaqueToken} from 'angular2/di';
|
||||
import {Type, isBlank, isPresent, BaseException, assertionsEnabled, print, stringify} from 'angular2/src/facade/lang';
|
||||
import {Injector, bind, OpaqueToken, Optional} from 'angular2/di';
|
||||
import {NumberWrapper, Type, isBlank, isPresent, BaseException,
|
||||
assertionsEnabled, print, stringify} from 'angular2/src/facade/lang';
|
||||
import {BrowserDomAdapter} from 'angular2/src/dom/browser_adapter';
|
||||
import {DOM} from 'angular2/src/dom/dom_adapter';
|
||||
import {Compiler, CompilerCache} from './compiler/compiler';
|
||||
|
@ -10,6 +10,8 @@ class Math {
|
||||
return math.pow(x, exponent);
|
||||
}
|
||||
|
||||
static num max(num a, num b) => math.max(a, b);
|
||||
|
||||
static num min(num a, num b) => math.min(a, b);
|
||||
|
||||
static num floor(num a) => a.floor();
|
||||
|
Reference in New Issue
Block a user