This file contains hidden or 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
| <body class="pg pg-hidden pg-homepage pg-section domestic t-light"> | |
| </body> |
This file contains hidden or 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
| var CNN = CNN || {}; | |
| CNN.contentModel = { | |
| registryURL: "/web/20161101150131/http://z.cdn.turner.com/ads/cnn/cnn_homepage.js", | |
| entitlementSingletons: [/* five cdn delievered js files*/], | |
| loadAllZonesLazy: true, | |
| lazyLoad: true, | |
| enableIntelligentLoad: true, | |
| feedback: { | |
| "apiEndpoint": "/web/20161101150131/https://mailcar.cnn.com/api/v1/" | |
| }, |
This file contains hidden or 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
| /* | |
| const <name> = min file unmangled | |
| properties | |
| 'Global CNN varible w/ property chain': [ | |
| { | |
| prop: 'lhs' // CNN w/ property chain assignee | |
| to: 'rhs' // Assigned to | |
| } | |
| ] | |
| */ |
This file contains hidden or 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
| <div id="scriptParent"> | |
| <!--Test 2a, Script, local --><img src="pixel.png" title="test2a"> | |
| <!--Test 2b, Script, remote --><img src="pixel.png" title="test2b"> | |
| <script type="text/javascript"> | |
| //Test 2c, Script inline, DOM Manipution | |
| document.addEventListener('DOMContentLoaded', function () { | |
| var inlineScriptImage = new Image(); | |
| inlineScriptImage.src = "pixel.png"; | |
| inlineScriptImage.title = "test2c"; |
This file contains hidden or 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
| function (t, e, n) { | |
| "use strict"; | |
| function i () { | |
| this.attributes({ | |
| nextLink: void 0, | |
| initialPath: WB_wombat_self_location.pathname.replace("network/", "") + | |
| "co-authors/" | |
| }), this.getNextCoAuthors = r, this.after("initialize", function () { | |
| this.on(document, "ui:co-authors:view-more", r), this.getNextCoAuthors() |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| !function (t) { | |
| function e (i) { | |
| if (n[i]) return n[i].exports; | |
| var r = n[i] = { | |
| exports: {}, | |
| id: i, | |
| loaded: !1 | |
| }; | |
| return t[i].call(r.exports, r, r.exports, e), r.loaded = !0, r.exports | |
| } |
This file contains hidden or 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
| www.mendeley.com/sign-in/?routeTo=https%3A%2F%2Fwww.mendeley.com%2Fprofiles%2Fhelen-palmer |
This file contains hidden or 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
| const cheerio = require('cheerio') | |
| const fs = require('fs-extra') | |
| const Promise = require('bluebird') | |
| const path = require('path') | |
| const generate = require('babel-generator') | |
| const traverse = require('babel-traverse') | |
| const {parse} = require('babylon') | |
| const util = require('util') | |
| const bTypes = require('babel-types') | |
| const inlineCss = require('inline-css') |
This file contains hidden or 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
| body { | |
| margin: 0; | |
| text-align: center; | |
| min-width:940px; /* changed; value was 660px */ | |
| font-size: small; | |
| } | |
| #header-wrapper { | |
| width:940px; /* changed; value was 660px */ | |
| margin:0 auto 10px; |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import re | |
| import sys | |
| from six.moves.html_parser import HTMLParser | |
| from six.moves.urllib.parse import urljoin, urlsplit, urlunsplit | |