sfc-utils 1.3.6 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/accountswap.js +1 -1
- package/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@ googleAuth(project, null, true)
|
|
|
13
13
|
|
|
14
14
|
`nav.js` and `footer.js` both export the HTML needed for each markets' nav and footer settings. The styles controlling the actual look of these features exists at the project level.
|
|
15
15
|
|
|
16
|
+
`nav2.js` overhauls our existing nav and includes styles that are bundled in this repo, giving us an extra level of control.
|
|
17
|
+
|
|
16
18
|
`topper.js` implements a cool standardized set of topper options. Great for templates! If story_settings is configured with the right columns, this should be standard across projects.
|
|
17
19
|
|
|
18
20
|
`blueconic.js` handles the mapping of domains to the arbitrary string that the blueconic script lives on. Why is there an arbitrary string instead of a standard one? Maybe blueconic.houstonchronicle.com, for example? No one knows.
|
package/accountswap.js
CHANGED
|
@@ -9,7 +9,7 @@ const pollForAccount = function(i){
|
|
|
9
9
|
i = 0
|
|
10
10
|
}
|
|
11
11
|
// Safecheck for treg since it might not be global yet
|
|
12
|
-
if (window && window.treg && window.treg.identity && window.treg.identity.
|
|
12
|
+
if (window && window.treg && window.treg.identity && window.treg.identity.id){
|
|
13
13
|
// We got a valid entitlement! Let's see if the button exists and swap our new one in
|
|
14
14
|
const subButton = documment.querySelector('.sub-box')
|
|
15
15
|
console.log("found and swapped")
|
package/index.js
CHANGED
|
@@ -251,5 +251,6 @@ let { getSpecialNav } = require('./specialnav')
|
|
|
251
251
|
let { getFooter } = require('./footer')
|
|
252
252
|
let { getTopper } = require('./topper')
|
|
253
253
|
let { getBlueconic } = require('./blueconic')
|
|
254
|
+
let { pollForAccount } = require('./accountswap')
|
|
254
255
|
|
|
255
|
-
module.exports = { appCheck, blendHDN, getSettings, getBrands, getNav, getNav2, getSpecialNav, getFooter, getTopper, getBlueconic }
|
|
256
|
+
module.exports = { appCheck, blendHDN, getSettings, getBrands, getNav, getNav2, getSpecialNav, getFooter, getTopper, getBlueconic, pollForAccount }
|