@litejs/ui 23.3.3 → 23.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/load.js +4 -1
  2. package/package.json +2 -2
package/load.js CHANGED
@@ -31,6 +31,9 @@
31
31
  !function(window, Function, setTimeout) {
32
32
  xhr._s = new Date()
33
33
  var loaded = {}
34
+ , rewrite = {
35
+ //!{loadRewrite}
36
+ }
34
37
  /*** activex ***/
35
38
  , XMLHttpRequest = +"\v1" && window.XMLHttpRequest || Function("return new ActiveXObject('Microsoft.XMLHTTP')")
36
39
  /**/
@@ -116,7 +119,7 @@
116
119
  // if (sessionID) xhr.setRequestHeader("Cookie", sessionID);
117
120
  // if (xhr.getResponseHeader("Set-Cookie")) sessionID = xhr.getResponseHeader("Set-Cookie");
118
121
 
119
- xhr.open(method, url, next !== true)
122
+ xhr.open(method, rewrite[url] || url, next !== true)
120
123
 
121
124
  // With IE 8 XMLHttpRequest gains the timeout property.
122
125
  // With the timeout property, Web developers can specify
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litejs/ui",
3
- "version": "23.3.3",
3
+ "version": "23.3.5",
4
4
  "description": "UI engine for LiteJS full-stack framework",
5
5
  "license": "MIT",
6
6
  "author": "Lauri Rooden <lauri@rooden.ee>",
@@ -25,7 +25,7 @@
25
25
  "test": "TZ='Europe/Tallinn' lj test test/index.js --brief --coverage && jshint --verbose *.js src/*.js binding/*.js polyfill/*.js"
26
26
  },
27
27
  "devDependencies": {
28
- "@litejs/cli": "23.3.2",
28
+ "@litejs/cli": "23.3.4",
29
29
  "jshint": "2.13.6"
30
30
  },
31
31
  "litejs": {