Skip to content

andrewschaaf/moof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moof: Misc Objects og Functions

("og" means "and" in some languages and "moof" is what dogcows say)

Features

  • 100% freshly brewed CoffeeScript
  • 100% CommonJS, e.g. for use with stitch
  • Non-browser-related items usable from NodeJS

Some Examples

element

x = Element 'div', 'class1 class2', [
  new Element 'input', {type: text}
  y = new Element 'span', ['bar']
]
x.appendTo y

class MyWidget extends Element
  constructor: () ->
    super 'div', 'widget', [
      ...
    ]