Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "icevw", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Aplicación que permite utilizar los recursos del pc cliente desde la web", | ||
@@ -8,6 +8,6 @@ "keywords": [ | ||
"icevw", | ||
"webplugin", | ||
"vw" | ||
"webplugin", | ||
"vw" | ||
], | ||
"main": "index.coffee", | ||
"main": "./index.coffee", | ||
"dependencies": { | ||
@@ -18,9 +18,9 @@ "decompress-zip": ">=0.2.0", | ||
"request": ">=2.65.0", | ||
"uniqid": ">=1.0.0", | ||
"express-session": ">=1.12.1", | ||
"vw-session-file-store": ">=0.0.24" | ||
"uniqid": ">=1.0.0", | ||
"express-session": ">=1.12.1", | ||
"vw-session-file-store": ">=0.0.24" | ||
}, | ||
"author": { | ||
"name": "James Suárez", | ||
"email":"xtreme.maicolxt94@gmail.com" | ||
"email": "xtreme.maicolxt94@gmail.com" | ||
}, | ||
@@ -32,3 +32,3 @@ "bugs": { | ||
"type": "git", | ||
"url": "https://github.com/voxsoftware/icevw" | ||
"url": "git+https://github.com/voxsoftware/icevw.git" | ||
}, | ||
@@ -39,7 +39,22 @@ "homepage": "https://github.com/voxsoftware/icevw", | ||
{ | ||
"name": "James Suárez", | ||
"name": "voxsoftware", | ||
"email": "xtreme.maicolxt94@gmail.com" | ||
} | ||
], | ||
"directories": {} | ||
"directories": {}, | ||
"_id": "icevw@0.0.7", | ||
"scripts": {}, | ||
"_shasum": "2c40ffd38e1c2866327ca7fd5cad5d12e7e0dba7", | ||
"_from": "icevw@", | ||
"_npmVersion": "2.14.7", | ||
"_nodeVersion": "4.2.1", | ||
"_npmUser": { | ||
"name": "voxsoftware", | ||
"email": "xtreme.maicolxt94@gmail.com" | ||
}, | ||
"dist": { | ||
"shasum": "2c40ffd38e1c2866327ca7fd5cad5d12e7e0dba7", | ||
"tarball": "http://registry.npmjs.org/icevw/-/icevw-0.0.7.tgz" | ||
}, | ||
"_resolved": "https://registry.npmjs.org/icevw/-/icevw-0.0.7.tgz" | ||
} |
@@ -205,27 +205,30 @@ // James! 29-01-2016 | ||
var url= pars.url||""; | ||
if(url.substring(0,7)!="http://"&&url.substring(0,8)!="https://"&&url.substring(0,5)!="ws://"){ | ||
url=location.origin + "/"+url; | ||
} | ||
var spars=[]; | ||
spars.push("domain=" + encodeURIComponent(location.origin)); | ||
spars.push("&"); | ||
spars.push("url=" + encodeURIComponent(url)); | ||
spars.push("&"); | ||
spars.push("uid=" + self.uid); | ||
spars.push("&"); | ||
spars.push("app=" + pars.app); | ||
setTimeout(function(){ | ||
var url= pars.url||""; | ||
if(url.substring(0,7)!="http://"&&url.substring(0,8)!="https://"&&url.substring(0,5)!="ws://"){ | ||
url=location.origin + "/"+url; | ||
} | ||
var spars=[]; | ||
spars.push("domain=" + encodeURIComponent(location.origin)); | ||
spars.push("&"); | ||
spars.push("url=" + encodeURIComponent(url)); | ||
spars.push("&"); | ||
spars.push("uid=" + self.uid); | ||
spars.push("&"); | ||
spars.push("app=" + pars.app); | ||
var iframe= self.iframe; | ||
iframe.attr("src",self.url+"/require?"+spars.join("")); | ||
iframe.css("width","100%"); | ||
iframe.css("height","100%"); | ||
iframe.css("position","fixed"); | ||
iframe.css("top","0"); | ||
iframe.css("left","0"); | ||
iframe.css("z-index","99999"); | ||
iframe.show(); | ||
this.callback=callback; | ||
var iframe= self.iframe; | ||
iframe.attr("src",self.url+"/require?"+spars.join("")); | ||
iframe.css("width","100%"); | ||
iframe.css("height","100%"); | ||
iframe.css("position","fixed"); | ||
iframe.css("top","0"); | ||
iframe.css("left","0"); | ||
iframe.css("z-index","99999"); | ||
iframe.show(); | ||
this.callback=callback; | ||
},200); | ||
}, function(er){ | ||
@@ -232,0 +235,0 @@ if(er){ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4022527
4744