Comparing version 2.13.13 to 2.13.14
{ | ||
"name": "ralltiir", | ||
"version": "2.13.13", | ||
"version": "2.13.14", | ||
"discription": "前端极速浏览框架,目标是提升用户体验,提供沉浸式浏览方式。", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -13,2 +13,3 @@ /** | ||
var assert = require('@searchfe/assert'); | ||
var Promise = require('@searchfe/promise'); | ||
var logger = require('./utils/logger'); | ||
@@ -266,5 +267,7 @@ var _ = require('@searchfe/underscore'); | ||
e.url = URL.resolve(config.root, url); | ||
location.replace(e.url); | ||
exports.emit('redirectFailed', e); | ||
throw e; | ||
// throw e; | ||
} | ||
@@ -271,0 +274,0 @@ }; |
@@ -80,3 +80,3 @@ /** | ||
type: 'value', | ||
module: window.Promise | ||
module: require('@searchfe/promise') | ||
}, | ||
@@ -83,0 +83,0 @@ map: { |
@@ -9,2 +9,3 @@ /** | ||
var _ = require('@searchfe/underscore'); | ||
var Promise = require('@searchfe/promise'); | ||
var Url = require('./url'); | ||
@@ -11,0 +12,0 @@ var exports = {}; |
125930
3954