pilot-block

0.0.26 • Public • Published
var pilot = require("pilot");
pilot.addController("hello", {
  elements: function(elements) {
    elements.append("Hello World");
  }
});

pilot.attach(document.body);
<html>
  <head>
  </head>
  <body>
    <!--spc:hello-->
    <!--epc:hello-->
  </body>
</html>

Readme

Keywords

none

Package Sidebar

Install

npm i pilot-block

Weekly Downloads

7

Version

0.0.26

License

BSD

Last publish

Collaborators

  • architectd
  • crcn