Skip to content

Instantly share code, notes, and snippets.

@tyage
Created June 12, 2014 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyage/2484d5b3a515297c7ea7 to your computer and use it in GitHub Desktop.
Save tyage/2484d5b3a515297c7ea7 to your computer and use it in GitHub Desktop.
tweet deck js diff
409c409
< TD.buildID = "23c4e3847adeb9802cbbb07473a565e4c3e2bd1a", TD.buildIDShort = "23c4e38", TD.version = "3.7.2", TD.config = {
---
> TD.buildID = "19002e5b5af908182db93fdec359a49551b6c6b0", TD.buildIDShort = "19002e5", TD.version = "3.7.1", TD.config = {
417,418d416
< app_name: "TweetDeck by Twitter",
< app_icon: "web/assets/logos/128.png",
4320c4318
< return exposed.latestFeatherId = 19, exposed.loadFeathers = function (isRetry) {
---
> return exposed.latestFeatherId = 18, exposed.loadFeathers = function (isRetry) {
6240c6238,6240
< D = !isNaN(new Date("Mon Oct 08 16:34:01 +0000 2012").getTime());
---
> D = document.createElement("div"),
> w = document.createElement("div"),
> b = !isNaN(new Date("Mon Oct 08 16:34:01 +0000 2012").getTime());
6254c6254
< return t = new Date(!D && e ? Date.parse(e.replace(/( \+)/, " UTC$1")) : e)
---
> return t = new Date(!b && e ? Date.parse(e.replace(/( \+)/, " UTC$1")) : e)
6301a6302,6310
> _parseTextOnly: function (e, t) {
> for (var i, n = e.childNodes, r = n.length, s = 0; r > s; s++) i = n[s], 3 === i.nodeType && TD.emoji.test(i.nodeValue) ? t.push(i) : i.hasChildNodes() && this._parseTextOnly(i, t)
> },
> _replaceTextOnly: function (e) {
> for (var t, i, n = e.length, r = 0; n > r; r++) {
> for (t = e[r], w.innerHTML = TD.emoji.parse(t.nodeValue), i = document.createDocumentFragment(); w.hasChildNodes();) i.appendChild(w.firstChild);
> t.parentNode.replaceChild(i, t)
> }
> },
6303c6312,6313
< return e
---
> var t;
> return TD.emoji.test(e) && (D.innerHTML = e, t = [], this._parseTextOnly(D, t), this._replaceTextOnly(t), e = D.innerHTML, D.innerHTML = ""), e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment