Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-04-24 13:02:06 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-04-24 13:02:06 +0400
commit73453c7f79e6bf6be13917f854ed172e214eada2 (patch)
treeed4525ccca978b19474f3029cf25b36a402d2ce1 /docs/assets/js/application.js
parentb8b1ffde055b9e04f658201f81cf7974d56ae0c2 (diff)
changes for build in preperation for 2.0.3 release
Diffstat (limited to 'docs/assets/js/application.js')
-rw-r--r--docs/assets/js/application.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js
index f1b7c090ac..6463b902fb 100644
--- a/docs/assets/js/application.js
+++ b/docs/assets/js/application.js
@@ -137,7 +137,7 @@
$.ajax({
type: 'POST'
- , url: 'http://bootstrap.herokuapp.com'
+ , url: /\?dev/.test(window.location) ? 'http://localhost:3000' : 'http://bootstrap.herokuapp.com'
, dataType: 'jsonpi'
, params: {
js: js
@@ -147,7 +147,6 @@
}
})
})
-
})
// Modified from the original jsonpi https://github.com/benvinegar/jquery-jsonpi