Internet Explorer
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; RM-1109) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
| // Test 1, what will be displayed in the logs? | |
| Promise.resolve() | |
| .then(() => { | |
| const car = { | |
| color: 'Green' | |
| } | |
| setTimeout(() => { | |
| car.color = 'Orange' | |
| }, 0) |
| (function () { | |
| 'use strict' | |
| window.data = `<a name="1.5.7"></a># 1.5.7 hexagonal-circumvolution (2016-06-15)## Bug Fixes- **$compile:** - don't add merged attributes twice to $attrs ([ebbaa4ac](https://github.com/angular/angular.js/commit/ebbaa4ac5e3559df9267203438a0bb18c2d3b7d8), [#8159](https://github.com/angular/angular.js/issues/8159), [#14737](https://github.com/angular/angular.js/issues/14737)) - cope with $onChanges hooks throwing ([3749c858](https://github.com/angular/angular.js/commit/3749c85829406ca57cc5729e80696c7f34134068), [#14444](https://github.com/angular/angular.js/issues/14444), [#14463](https://github.com/angular/angular.js/issues/14463))- **$parse:** allow arguments to contain filter chains ([cc6dcb4b](https://github.com/angular/angular.js/commit/cc6dcb4bc28aadff4f62d76d6451b0f80b928e69), [#4175](https://github.com/angular/angular.js/issues/4175), [#4168](https://github.com/angular/angular.js/issues/4168), [#14720](https://github.com/angular/angular.js/issues/14720))- **$ro |
| /* | |
| Cria um Globally Unique Identifier randomico | |
| para uso junto ao Google Measurement Protocol | |
| A discussão sobre isso é grande e eu cansei de ler | |
| o lance é o seguinte, usamos `window.crypto` quando disponível | |
| quando não disponível (browsers antigos) usamos o Math.random | |
| que não é la grandes coisas, mas mesmo assim já é TOP! | |
| Resposta no Stackoverflow http://stackoverflow.com/a/8472700/2588556 | |
| + minhas adaptações |
| // This polyfill provides Cache.add(), Cache.addAll(), and CacheStorage.match(), | |
| // which are not implemented in Chrome 40. | |
| importScripts('js/cache-polyfill.js') // find it on the internet | |
| var version = 'v01234567' | |
| var ignoreRequests = new RegExp('(' + [ | |
| '\.com/', // customize to your use case, home page | |
| '/page1', | |
| '/perfil', | |
| '/perfil\/(.*)', // ignore also IDs |
Assume the user is on a mobile device iOS Safari (Or other browser), but you want a link to open into any other specific mobile browser app like Chrome, Safari, Firefox, Opera, Arc... How do you do that?
To open on Chrome
<a href="googlechrome://example.com">try it on Chrome</a>check out Chrome iOS Docs for more information
Hi.. Let's make some tests with touchstart and touchend...
This is the demo full http://s.codepen.io/felquis/debug/obzbzg source code
| Oi galera, estava com um problema com Fuso Horário, | |
| o celular da minha mãe estava com data e fuso | |
| automático desabilitado, e o fuso Horário configurado | |
| para Fiji | |
| Device Moto E XT1025, browser Chrome (45.0.2454.84) | |
| Quando ia calcular a hora acontecia o seguinte: | |
| new Date('2015-12-21T09:41:44.210Z') |
| var collection = { | |
| property: 'value', | |
| property2: 'value2' | |
| } | |
| Object.keys(collection).forEach(function (name) { | |
| console.log(name, collection[name]) | |
| }) |
| /* | |
| :) | |
| */ | |
| // This polyfill provides Cache.add(), Cache.addAll(), and CacheStorage.match(), | |
| // which are not implemented in Chrome 40. | |
| // https://github.com/coonsta/cache-polyfill | |
| importScripts('js/dependencies/cache-polyfill.js') | |
| // Increase!! |