Lines Matching refs:api

2101 },evaluate:function(expr,context,api,errorHandler){context=context||"window";  argument
2103 if(context=="window"){if(isObjectLiteral){cmd=api?"with("+api+"){ ("+expr+") }":"("+expr+")"
2104 }else{cmd=api?"with("+api+"){ "+expr+" }":expr
2105 }}else{cmd=api?"(function(arguments){ with("+api+"){ "+expr+" } }).call("+context+",undefined)":"(f…
3057 (function(){var store=(function(){var api={},win=window,doc=win.document,localStorageName="localSto…
3058 api.disabled=false;
3059 api.set=function(key,value){};
3060 api.get=function(key){};
3061 api.remove=function(key){};
3062 api.clear=function(){};
3063 api.transact=function(key,transactionFn){var val=api.get(key);
3066 api.set(key,val)
3068 api.serialize=function(value){return JSON.stringify(value)
3070 api.deserialize=function(value){if(typeof value!="string"){return undefined
3078 api.set=function(key,val){storage.setItem(key,api.serialize(val))
3080 api.get=function(key){return api.deserialize(storage.getItem(key))
3082 api.remove=function(key){storage.removeItem(key)
3084 api.clear=function(){storage.clear()
3087 api.set=function(key,val){storage[key]=api.serialize(val)
3089 api.get=function(key){return api.deserialize(storage[key]&&storage[key].value)
3091 api.remove=function(key){delete storage[key]
3093 api.clear=function(){for(var key in storage){delete storage[key]
3101 var result=storeFunction.apply(api,args);
3105 }api.set=withIEStorage(function(storage,key,val){storage.setAttribute(key,api.serialize(val));
3108 api.get=withIEStorage(function(storage,key){return api.deserialize(storage.getAttribute(key))
3110 api.remove=withIEStorage(function(storage,key){storage.removeAttribute(key);
3113 api.clear=withIEStorage(function(storage){var attributes=storage.XMLDocument.documentElement.attrib…
3120 }}}try{api.set(namespace,namespace);
3121 if(api.get(namespace)!=namespace){api.disabled=true
3122 }api.remove(namespace)
3123 }catch(e){api.disabled=true
3124 }return api
6275 },evaluate:function(expr){var api="Firebug.CommandLine.API";
6276 var result=Firebug.context.evaluate(expr,"window",api,Firebug.Console.error);