-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use camelCase variable names - Fix function parameter definitions
- Loading branch information
Showing
7 changed files
with
30 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { initScript, getDefaultCdn, getDefaultScripts } from "."; | ||
|
||
let base_url = getDefaultCdn(subdomain="dev-static") | ||
const scripts = getDefaultScripts({ | ||
base_url: base_url, | ||
}); | ||
let baseUrl = getDefaultCdn("dev-static") | ||
const scripts = getDefaultScripts(baseUrl); | ||
|
||
export const init = () => initScript(scripts, base_url); | ||
export const init = () => initScript(scripts, baseUrl); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
import { initScript, getDefaultCdn } from "."; | ||
|
||
let base_url = getDefaultCdn() | ||
let baseUrl = getDefaultCdn() | ||
|
||
const scripts = [ | ||
{ | ||
type: "script", | ||
src: `${base_url}/formio.full.min.js`, | ||
src: `${baseUrl}/formio.full.min.js`, | ||
async: false, | ||
}, | ||
{ | ||
type: "script", | ||
src: `${base_url}/premium.min.js`, | ||
src: `${baseUrl}/premium.min.js`, | ||
async: false, | ||
}, | ||
{ | ||
type: "script", | ||
src: `${base_url}/formio-qld.min.js`, | ||
src: `${baseUrl}/formio-qld.min.js`, | ||
async: false, | ||
}, | ||
// note: formio-loader should always load last | ||
{ | ||
type: "script", | ||
src: `${base_url}/formio-loader.min.js`, | ||
src: `${baseUrl}/formio-loader.min.js`, | ||
async: false, | ||
}, | ||
{ | ||
type: "link", | ||
href: `${base_url}/formio.full.min.css`, | ||
href: `${baseUrl}/formio.full.min.css`, | ||
rel: "stylesheet", | ||
}, | ||
{ | ||
type: "link", | ||
href: `${base_url}/premium.css`, | ||
href: `${baseUrl}/premium.css`, | ||
rel: "stylesheet", | ||
}, | ||
{ | ||
type: "link", | ||
href: `${base_url}/formio-qld.min.css`, | ||
href: `${baseUrl}/formio-qld.min.css`, | ||
rel: "stylesheet", | ||
}, | ||
]; | ||
|
||
export const init = () => initScript(scripts, base_url); | ||
export const init = () => initScript(scripts, baseUrl); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { initScript, getDefaultCdn, getDefaultScripts } from "."; | ||
|
||
let base_url = getDefaultCdn(subdomain="beta-static") | ||
const scripts = getDefaultScripts({ | ||
base_url: base_url, | ||
}); | ||
let baseUrl = getDefaultCdn("beta-static") | ||
const scripts = getDefaultScripts(baseUrl); | ||
|
||
export const init = () => initScript(scripts, base_url); | ||
export const init = () => initScript(scripts, baseUrl); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { initScript, getDefaultCdn, getDefaultScripts } from "."; | ||
|
||
let base_url = getDefaultCdn(subdomain="test-static") | ||
const scripts = getDefaultScripts({ | ||
base_url: base_url, | ||
}); | ||
let baseUrl = getDefaultCdn("test-static") | ||
const scripts = getDefaultScripts(baseUrl); | ||
|
||
export const init = () => initScript(scripts, base_url); | ||
export const init = () => initScript(scripts, baseUrl); |