UNPKG

toloframework

Version:

Javascript/HTML/CSS compiler for Firefox OS or nodewebkit apps using modules in the nodejs style.

2 lines 939 B
function addListener(e,o){window.addEventListener?window.addEventListener(e,o,!1):window.attachEvent("on"+e,o)}window.require=function(){var e={},o={},r={},t="function"==typeof window.require?window.require:null,n=function(i,d){var u=e[i];if(u)return u;if("node://"==i.substr(0,7)){if(!t)throw Error("[require] NodeJS is not available to load module `"+i+"`!");return t(i.substr(7))}if("function"==typeof d)return void(r[i]=d);var w;if(void 0===(d=r[i])){var a=new Error("Required module is missing: "+i);throw console.error(a.stack),a}if(void 0===(w=o[i])){w={exports:{}};var c=w.exports;d(n,w,c),o[i]=w.exports,w=w.exports}return w};return n.mock=function(o,r){e[o]=r},n}(),addListener("DOMContentLoaded",function(){document.body.parentNode.$data={},require("x-widget")("tfw.view.checkbox0","tfw.view.checkbox",{content:"Hello world!",value:"true"},{id:"tfw.view.checkbox0",name:"tfw.view.checkbox"})}); //# sourceMappingURL=xjs.html.map