mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
use suppressDefaultJs instead of suppressFooter
This commit is contained in:
@@ -133,8 +133,7 @@ html(itemscope, itemtype='http://schema.org/Product')
|
||||
span(ng-controller="ScribtexPopupController")
|
||||
include scribtex-modal
|
||||
|
||||
|
||||
- if(typeof(suppressFooter) == "undefined")
|
||||
- if(typeof(suppressDefaultJs) == "undefined")
|
||||
script(type='text/javascript').
|
||||
// extend requirejs config
|
||||
window.requirejs.urlArgs = "fingerprint=#{fingerprint(jsPath + 'main.js')}-#{fingerprint(jsPath + 'libs.js')}"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
extends ../layout
|
||||
|
||||
block content
|
||||
- locals.supressDefaultJs = true
|
||||
- locals.suppressDefaultJs = true
|
||||
script(data-main=jsPath+'main.js', src=jsPath+'libs/require.js', baseurl=jsPath)
|
||||
script(src=buildJsPath('libs/recurly.min.js', {fingerprint:false}))
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ block scripts
|
||||
window.couponCode = "#{couponCode}"
|
||||
|
||||
block content
|
||||
- locals.supressDefaultJs = true
|
||||
- locals.suppressDefaultJs = true
|
||||
script(data-main=jsPath+'main.js', src=jsPath+'libs/require.js', baseurl=jsPath)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user