diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index 898a49d9a9..de2382b2ee 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -185,25 +185,30 @@ $(function () { // request built javascript $('.download-btn').on('click', function () { - var comp = $("#components.download input:checked") + var css = $("#components.download input:checked") .map(function () { return this.value }) .toArray() - , plug = $("#plugins.download input:checked") + , js = $("#plugins.download input:checked") .map(function () { return this.value }) .toArray() + , vars = {} - + $("#variables.download input") + .each(function () { + return $(this).val() + }) $.ajax({ type: 'POST' + , url: 'localhost:3000' + // , url: "http://bootstrap.herokuapp.com" , dataType: 'jsonpi' , params: { branch: '2.0-wip' - , dir: 'js' - , filenames: names - , compress: buildTypes.first().hasClass('active') - } - , url: "http://bootstrap.herokuapp.com" + , js: js + , css: css + , vars: vars + } }) }) diff --git a/docs/download.html b/docs/download.html index a81f31cebf..5b2b716d7e 100644 --- a/docs/download.html +++ b/docs/download.html @@ -93,51 +93,51 @@

Scaffolding

- - - + + +

Base CSS

- - - - - - - + + + + + + +

Components

- - - - - - - - - - + + + + + + + + + +

JS Components

- - - - - - - + + + + + + +

Miscellaneous

- - - - + + + +

Responsive

- - - + + +
diff --git a/docs/templates/pages/download.mustache b/docs/templates/pages/download.mustache index 037690e73a..4707e60a94 100644 --- a/docs/templates/pages/download.mustache +++ b/docs/templates/pages/download.mustache @@ -28,51 +28,51 @@

Scaffolding

- - - + + +

Base CSS

- - - - - - - + + + + + + +

Components

- - - - - - - - - - + + + + + + + + + +

JS Components

- - - - - - - + + + + + + +

Miscellaneous

- - - - + + + +

Responsive

- - - + + +