Browse Source

merged with master

gh-pages
Igor Zhukov 11 years ago
parent
commit
05705250b9
  1. 9
      app.manifest
  2. 2
      css/app.css
  3. BIN
      img/WebIntro1.png
  4. BIN
      img/WebIntro1_1x.png
  5. BIN
      img/WebIntro2.png
  6. BIN
      img/WebIntro2_1x.png
  7. BIN
      img/WebIntro3.png
  8. BIN
      img/WebIntro3_1x.png
  9. BIN
      img/decentralization.png
  10. 30
      js/app.js
  11. 2
      js/app.js.map
  12. 9
      js/lib/mtproto.js

9
app.manifest

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# Time: Fri Apr 18 2014 23:35:00 GMT-0400 (EDT) # Time: Mon Apr 28 2014 12:47:47 GMT+0800 (SGT)
CACHE: CACHE:
@ -10,8 +10,15 @@ img/TLogo2_1x.png
img/TLogo2_2x.png img/TLogo2_2x.png
img/TLogo_1x.png img/TLogo_1x.png
img/Tlogo_2x.png img/Tlogo_2x.png
img/WebIntro1.png
img/WebIntro1_1x.png
img/WebIntro2.png
img/WebIntro2_1x.png
img/WebIntro3.png
img/WebIntro3_1x.png
img/bg_tile.png img/bg_tile.png
img/blank.gif img/blank.gif
img/decentralization.png
img/emojisprite_0.png img/emojisprite_0.png
img/emojisprite_1.png img/emojisprite_1.png
img/emojisprite_2.png img/emojisprite_2.png

2
css/app.css

File diff suppressed because one or more lines are too long

BIN
img/WebIntro1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
img/WebIntro1_1x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
img/WebIntro2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
img/WebIntro2_1x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
img/WebIntro3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
img/WebIntro3_1x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
img/decentralization.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

30
js/app.js

File diff suppressed because one or more lines are too long

2
js/app.js.map

File diff suppressed because one or more lines are too long

9
js/lib/mtproto.js

@ -775,7 +775,9 @@ TLDeserialization.prototype.fetchBool = function (field) {
} else if (i == 0xbc799737) { } else if (i == 0xbc799737) {
return false return false
} }
throw new Error('Unknown Bool constructor ' + i);
this.offset -= 4;
return this.fetchObject('Object', field);
} }
TLDeserialization.prototype.fetchString = function (field) { TLDeserialization.prototype.fetchString = function (field) {
@ -2637,7 +2639,10 @@ factory('MtpApiManager', function (AppConfigManager, MtpAuthorizer, MtpNetworker
}, },
function (error) { function (error) {
console.error(dT(), 'Error', error.code, error.type, baseDcID, dcID); console.error(dT(), 'Error', error.code, error.type, baseDcID, dcID);
if (error.code == 401 && baseDcID && dcID != baseDcID) { if (error.code == 401 && baseDcID == dcID) {
AppConfigManager.remove('dc', 'user_auth');
}
else if (error.code == 401 && baseDcID && dcID != baseDcID) {
if (cachedExportPromise[dcID] === undefined) { if (cachedExportPromise[dcID] === undefined) {
var exportDeferred = $q.defer(); var exportDeferred = $q.defer();

Loading…
Cancel
Save