bmeck edited this page Sep 14, 2010 · 7 revisions
Clone this wiki locally

Hello System!

The first thing we want to do is make a simple object that can print out “Hello World!” to make sure all is well and done install wise.


var sys = require('sys')
  , System = require('interface').System
  function(system,interfaces,closures) {
    interfaces["Hello"] = {properties:
          sys.puts("Hello World!")


Hello World!

Onto the DOM

For our small implementation of the DOM we are going to implement Element as specified in the Level 1 Spec .