one has to change the required version number of Java to 1.*
Open
/Applications/PhpStorm.app/Contents/Info.plist
<key>JVMVersion</key>
<string>1.*</string>
one has to change the required version number of Java to 1.*
Open
/Applications/PhpStorm.app/Contents/Info.plist
<key>JVMVersion</key>
<string>1.*</string>
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>xhr donwload</title> | |
</head> | |
<body> | |
<script> | |
var uri = 'https://domain.com/video.mp4'; | |
var xhr = new XMLHttpRequest(); |
(function () { | |
/** | |
* Deferred ItemsService | |
*/ | |
function ItemsService($log, $http, $window, ENV) { | |
var ItemsService = {}; | |
ItemsService.items = []; |
Array.prototype.slice.call($x('//*[@id="mw-content-text"]/table/tbody/tr[*]/td[3]/a')).forEach(function(e,i) {console.log(e.href);}) |
{ | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Alternate VIM Navigation", | |
"AutoFileName", | |
"Babel", | |
"Better CoffeeScript", |
(function( window ) { | |
if ( window.console ) { | |
return; | |
} | |
window.console = (function() { | |
var methods = 'assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,table,time,timeEnd,timeStamp,trace,warn'.split(','), | |
console = {}, |
(function () { | |
function PreloaderService( $http, $window, $q, ENV ) { | |
var PreloaderService = {}; | |
PreloaderService.imageUrls = []; | |
PreloaderService.addImage = function ( imageUrl ) { | |
PreloaderService.imageUrls.push( imageUrl ) | |
}; |
// put tis at the end of the body | |
function loadDeferred( ) { | |
var s = document.createElement( 'script' ); | |
s.src = 'defer.js'; // concat all scripts which can be loaded deferred (listeners etc) | |
document.body.appendChild( s ); | |
} | |
if ( window.addEventListener ) { | |
window.addEventListener( "load", loadDeferred, false ); | |
} |
(function () { | |
function trusted($sce) { | |
return function (url) { | |
return $sce.trustAsResourceUrl(url); | |
}; | |
} | |
trusted.$inject = ['$sce']; |