Skip to content

Instantly share code, notes, and snippets.

@yyolk
Forked from quitequinn/gist:ae76170904fb3797f68f
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yyolk/315db4b46ba53aa6e147 to your computer and use it in GitHub Desktop.
Save yyolk/315db4b46ba53aa6e147 to your computer and use it in GitHub Desktop.
var compiled, exFunc;
exFunc = (function() {
function exFunc() {}
constructor(function(path) {
this.url = path.replace(/[]/g, '/');
this.index = path;
if (path === home) {
this.url = '';
return this.index = "intro";
}
});
stuff(function() {
var stuff;
stuff = "#!/" + this.url;
return $(".ex").attr("cur-slide", index);
});
$('.ex a[href$="#!/' + url + '"]').addClass('view-on');
return exFunc;
})();
compiled = new exFunc("intro_1");
compiled.stuff();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment