Skip to content

NikolaMandic/interfacex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

interfacex

expose interface
ifix('anon',(new (function(){ this.f=function(){ console.log("console"); return "1";}; this.x='';})));
use interface
$(document).trigger("anon.f","data");
or
ifix("anon.f")("data");

blog post explaining it
http://nikolamandic.me/?p=160

About

expose interface over js events and provide interface to use it. For project interoperability

Resources

Stars

Watchers

Forks

Packages

No packages published