Skip to content

Instantly share code, notes, and snippets.

@roundrobin
Created June 29, 2014 00:35

Revisions

  1. roundrobin revised this gist Jun 29, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions _.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    [ <a href="http://tributary.io/inlet/d9d2093a3be53bd12793">Launch: JavaScript OOP1</a> ] d9d2093a3be53bd12793 by roundrobin<br>
  2. roundrobin created this gist Jun 29, 2014.
    1 change: 1 addition & 0 deletions config.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {"description":"JavaScript OOP1","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true}
    13 changes: 13 additions & 0 deletions inlet.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@

    var Engine = function(){
    console.log("Created a engine");
    }

    Engine.prototype.start = function(){
    console.log("Started engine");
    }


    var engine = new Engine();
    engine.start();