mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
merge
This commit is contained in:
commit
dd9d8bf030
3 changed files with 13 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ var consoleNode, msie,
|
|||
angular = window['angular'] || (window['angular'] = {}),
|
||||
angularValidator = angular['validator'] || (angular['validator'] = {}),
|
||||
angularFilter = angular['filter'] || (angular['filter'] = {}),
|
||||
angularFormater = angular['formater'] || (angular['formater'] = {}),
|
||||
angularCallbacks = angular['callbacks'] || (angular['callbacks'] = {}),
|
||||
angularAlert = angular['alert'] || (angular['alert'] = function(){
|
||||
log(arguments); window.alert.apply(window, arguments);
|
||||
|
|
|
|||
6
src/Formaters.js
Normal file
6
src/Formaters.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
extend(angularFormater, {
|
||||
'noop':function(){
|
||||
|
||||
}
|
||||
});
|
||||
6
test/FormatersTest.js
Normal file
6
test/FormatersTest.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
TestCase("formaterTest", {
|
||||
testNoop: function(){
|
||||
assertEquals("abc", angular.formater.noop("abc"));
|
||||
assertEquals("xyz", angular.formater.noop("abc", "xyz"));
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue