Skip to content

Instantly share code, notes, and snippets.

@iskolbin
Created May 10, 2017 15:30
Show Gist options
  • Select an option

  • Save iskolbin/7aa663344b79b40971bc45f140d64d1f to your computer and use it in GitHub Desktop.

Select an option

Save iskolbin/7aa663344b79b40971bc45f140d64d1f to your computer and use it in GitHub Desktop.

Revisions

  1. iskolbin created this gist May 10, 2017.
    1 change: 1 addition & 0 deletions define.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    (function(){var b=window;b.define=function(c,a,d){a=[,b[c]||{}].concat(a.slice(2).map(function(a){b[a]=b[a]||{};return b[a]}));d.apply(null,a);b[c]=a[1]}})();