mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-11 21:35:32 +00:00
use suppressDefaultJs instead of suppressFooter
This commit is contained in:
parent
b9ecfcf41f
commit
0f2959eb3b
3 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue