File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -867,8 +867,8 @@ function test_config() {
867
867
s = config . interfaceInitialized . type ;
868
868
o = config . interfaceRegistry ;
869
869
o = config . objectRegistry ;
870
- config . registerAdapter ( "myAdapterName" ) ;
871
870
var f1 : Function ;
871
+ config . registerAdapter ( "myAdapterName" , f1 ) ;
872
872
config . registerFunction ( f1 , "myFunction" ) ;
873
873
config . registerType ( f1 , "myCtor" ) ;
874
874
s = config . stringifyPad ;
Original file line number Diff line number Diff line change @@ -884,7 +884,7 @@ declare module breeze.config {
884
884
var interfaceInitialized : Event ;
885
885
var interfaceRegistry : Object ;
886
886
var objectRegistry : Object ;
887
- export function registerAdapter ( interfaceName : string ) : void ;
887
+ export function registerAdapter ( interfaceName : string , adapterCtor : Function ) : void ;
888
888
export function registerFunction ( fn : Function , fnName : string ) : void ;
889
889
export function registerType ( ctor : Function , typeName : string ) : void ;
890
890
//static setProperties(config: Object): void; //deprecated
You can’t perform that action at this time.
0 commit comments