Skip to content

Instantly share code, notes, and snippets.

@rxaviers
Created December 4, 2012 15:53
Show Gist options
  • Save rxaviers/4205400 to your computer and use it in GitHub Desktop.
Save rxaviers/4205400 to your computer and use it in GitHub Desktop.
diff --git a/app/resources/download.js b/app/resources/download.js
index 28f2dda..00bd3e6 100644
--- a/app/resources/download.js
+++ b/app/resources/download.js
@@ -24,6 +24,9 @@
downloadJqueryuiHost = downloadJqueryuiHost.replace( /(download\.)/, "stage.$1" );
}
+ /**
+ * Model
+ */
function setModel( attributes ) {
_.extend( model, attributes );
@@ -52,6 +55,24 @@
return "/themeroller/#" + querystring;
}
+ /**
+ * App
+ */
function allComponents() {
return $( "#download-builder .component-group-list input[type=checkbox]" );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment