interfacex

1.0.0 • Public • Published

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");

Package Sidebar

Install

npm i interfacex

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • nikolamandic