Merge pull request #1336 from coreos-inc/stripenoldn

Never include Stripe checking in LDN
This commit is contained in:
josephschorr 2016-04-01 14:16:38 -04:00
commit 40cae5751a
3 changed files with 4 additions and 1 deletions

View file

@ -167,6 +167,10 @@ def render_page_template(name, route_data=None, **kwargs):
external_styles = get_external_css(local=not use_cdn)
external_scripts = get_external_javascript(local=not use_cdn)
# Add Stripe checkout if billing is enabled.
if features.BILLING:
external_scripts.append('//checkout.stripe.com/checkout.js')
def add_cachebusters(filenames):
cachebusters = get_cache_busters()
for filename in filenames:

View file

@ -14,7 +14,6 @@ EXTERNAL_JS = [
'cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.2.0/js/bootstrap-datepicker.min.js',
'cdn.jsdelivr.net/g/bootbox@4.1.0,underscorejs@1.5.2,restangular@1.2.0,d3js@3.3.3,momentjs',
'cdn.ravenjs.com/1.1.14/jquery,native/raven.min.js',
'checkout.stripe.com/checkout.js',
]
EXTERNAL_CSS = [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB