Skip to content

Instantly share code, notes, and snippets.

@kalebpederson
Created September 8, 2014 23:53

Revisions

  1. kalebpederson created this gist Sep 8, 2014.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    define(['dep'], function(dep) {
    function aFunc() {
    // do something with dep as captured in closure
    }
    return {
    myFunc: aFunc
    };
    });