Roy.Liu 4 years ago
parent
commit
1485fbd384
  1. 2
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 24
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 24
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 24
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 24
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 2
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/font.css
  27. 2
      dist/resource.css
  28. 2
      dist/utils.js
  29. 2
      dist/utils.min.js
  30. 2
      package.json
  31. 22
      src/router/router.js

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-22 11:30:20 */ /*! time: 2020-12-23 13:50:23 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -86651,7 +86651,15 @@ _.extend(BI, {
return _.map(params, function (param, i) { return _.map(params, function (param, i) {
// Don't decode the search params. // Don't decode the search params.
if (i === params.length - 1) return param || null; if (i === params.length - 1) return param || null;
return param ? decodeURIComponent(param) : null; var resultParam = null;
if (param) {
try {
resultParam = decodeURIComponent(param);
} catch (e) {
resultParam = param;
}
}
return resultParam;
}); });
} }
@ -86717,7 +86725,11 @@ _.extend(BI, {
// Get the pathname and search params, without the root. // Get the pathname and search params, without the root.
getPath: function () { getPath: function () {
var path = decodeURI(this.location.pathname + this.getSearch()); var path = this.location.pathname + this.getSearch();
try {
path = decodeURI(path);
} catch(e) {
}
var root = this.root.slice(0, -1); var root = this.root.slice(0, -1);
if (!path.indexOf(root)) path = path.slice(root.length); if (!path.indexOf(root)) path = path.slice(root.length);
return path.charAt(0) === "/" ? path.slice(1) : path; return path.charAt(0) === "/" ? path.slice(1) : path;
@ -86905,7 +86917,11 @@ _.extend(BI, {
var url = root + fragment; var url = root + fragment;
// Strip the hash and decode for matching. // Strip the hash and decode for matching.
fragment = decodeURI(fragment.replace(pathStripper, "")); fragment = fragment.replace(pathStripper, "")
try {
fragment = decodeURI(fragment);
} catch(e) {
}
if (this.fragment === fragment) return; if (this.fragment === fragment) return;
this.fragment = fragment; this.fragment = fragment;

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

24
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-22 11:30:20 */ /*! time: 2020-12-23 13:50:23 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -86651,7 +86651,15 @@ _.extend(BI, {
return _.map(params, function (param, i) { return _.map(params, function (param, i) {
// Don't decode the search params. // Don't decode the search params.
if (i === params.length - 1) return param || null; if (i === params.length - 1) return param || null;
return param ? decodeURIComponent(param) : null; var resultParam = null;
if (param) {
try {
resultParam = decodeURIComponent(param);
} catch (e) {
resultParam = param;
}
}
return resultParam;
}); });
} }
@ -86717,7 +86725,11 @@ _.extend(BI, {
// Get the pathname and search params, without the root. // Get the pathname and search params, without the root.
getPath: function () { getPath: function () {
var path = decodeURI(this.location.pathname + this.getSearch()); var path = this.location.pathname + this.getSearch();
try {
path = decodeURI(path);
} catch(e) {
}
var root = this.root.slice(0, -1); var root = this.root.slice(0, -1);
if (!path.indexOf(root)) path = path.slice(root.length); if (!path.indexOf(root)) path = path.slice(root.length);
return path.charAt(0) === "/" ? path.slice(1) : path; return path.charAt(0) === "/" ? path.slice(1) : path;
@ -86905,7 +86917,11 @@ _.extend(BI, {
var url = root + fragment; var url = root + fragment;
// Strip the hash and decode for matching. // Strip the hash and decode for matching.
fragment = decodeURI(fragment.replace(pathStripper, "")); fragment = fragment.replace(pathStripper, "")
try {
fragment = decodeURI(fragment);
} catch(e) {
}
if (this.fragment === fragment) return; if (this.fragment === fragment) return;
this.fragment = fragment; this.fragment = fragment;

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

24
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-22 11:30:20 */ /*! time: 2020-12-23 13:50:23 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -86651,7 +86651,15 @@ _.extend(BI, {
return _.map(params, function (param, i) { return _.map(params, function (param, i) {
// Don't decode the search params. // Don't decode the search params.
if (i === params.length - 1) return param || null; if (i === params.length - 1) return param || null;
return param ? decodeURIComponent(param) : null; var resultParam = null;
if (param) {
try {
resultParam = decodeURIComponent(param);
} catch (e) {
resultParam = param;
}
}
return resultParam;
}); });
} }
@ -86717,7 +86725,11 @@ _.extend(BI, {
// Get the pathname and search params, without the root. // Get the pathname and search params, without the root.
getPath: function () { getPath: function () {
var path = decodeURI(this.location.pathname + this.getSearch()); var path = this.location.pathname + this.getSearch();
try {
path = decodeURI(path);
} catch(e) {
}
var root = this.root.slice(0, -1); var root = this.root.slice(0, -1);
if (!path.indexOf(root)) path = path.slice(root.length); if (!path.indexOf(root)) path = path.slice(root.length);
return path.charAt(0) === "/" ? path.slice(1) : path; return path.charAt(0) === "/" ? path.slice(1) : path;
@ -86905,7 +86917,11 @@ _.extend(BI, {
var url = root + fragment; var url = root + fragment;
// Strip the hash and decode for matching. // Strip the hash and decode for matching.
fragment = decodeURI(fragment.replace(pathStripper, "")); fragment = fragment.replace(pathStripper, "")
try {
fragment = decodeURI(fragment);
} catch(e) {
}
if (this.fragment === fragment) return; if (this.fragment === fragment) return;
this.fragment = fragment; this.fragment = fragment;

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

24
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-22 11:30:20 */ /*! time: 2020-12-23 13:50:23 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -86651,7 +86651,15 @@ _.extend(BI, {
return _.map(params, function (param, i) { return _.map(params, function (param, i) {
// Don't decode the search params. // Don't decode the search params.
if (i === params.length - 1) return param || null; if (i === params.length - 1) return param || null;
return param ? decodeURIComponent(param) : null; var resultParam = null;
if (param) {
try {
resultParam = decodeURIComponent(param);
} catch (e) {
resultParam = param;
}
}
return resultParam;
}); });
} }
@ -86717,7 +86725,11 @@ _.extend(BI, {
// Get the pathname and search params, without the root. // Get the pathname and search params, without the root.
getPath: function () { getPath: function () {
var path = decodeURI(this.location.pathname + this.getSearch()); var path = this.location.pathname + this.getSearch();
try {
path = decodeURI(path);
} catch(e) {
}
var root = this.root.slice(0, -1); var root = this.root.slice(0, -1);
if (!path.indexOf(root)) path = path.slice(root.length); if (!path.indexOf(root)) path = path.slice(root.length);
return path.charAt(0) === "/" ? path.slice(1) : path; return path.charAt(0) === "/" ? path.slice(1) : path;
@ -86905,7 +86917,11 @@ _.extend(BI, {
var url = root + fragment; var url = root + fragment;
// Strip the hash and decode for matching. // Strip the hash and decode for matching.
fragment = decodeURI(fragment.replace(pathStripper, "")); fragment = fragment.replace(pathStripper, "")
try {
fragment = decodeURI(fragment);
} catch(e) {
}
if (this.fragment === fragment) return; if (this.fragment === fragment) return;
this.fragment = fragment; this.fragment = fragment;

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-22 11:30:20 */ /*! time: 2020-12-23 13:50:23 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-22 11:30:20 */ /*! time: 2020-12-23 13:50:23 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "fineui", "name": "fineui",
"version": "2.0.20201222113229", "version": "2.0.20201223135207",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",

22
src/router/router.js

@ -298,7 +298,15 @@
return _.map(params, function (param, i) { return _.map(params, function (param, i) {
// Don't decode the search params. // Don't decode the search params.
if (i === params.length - 1) return param || null; if (i === params.length - 1) return param || null;
return param ? decodeURIComponent(param) : null; var resultParam = null;
if (param) {
try {
resultParam = decodeURIComponent(param);
} catch (e) {
resultParam = param;
}
}
return resultParam;
}); });
} }
@ -364,7 +372,11 @@
// Get the pathname and search params, without the root. // Get the pathname and search params, without the root.
getPath: function () { getPath: function () {
var path = decodeURI(this.location.pathname + this.getSearch()); var path = this.location.pathname + this.getSearch();
try {
path = decodeURI(path);
} catch(e) {
}
var root = this.root.slice(0, -1); var root = this.root.slice(0, -1);
if (!path.indexOf(root)) path = path.slice(root.length); if (!path.indexOf(root)) path = path.slice(root.length);
return path.charAt(0) === "/" ? path.slice(1) : path; return path.charAt(0) === "/" ? path.slice(1) : path;
@ -552,7 +564,11 @@
var url = root + fragment; var url = root + fragment;
// Strip the hash and decode for matching. // Strip the hash and decode for matching.
fragment = decodeURI(fragment.replace(pathStripper, "")); fragment = fragment.replace(pathStripper, "")
try {
fragment = decodeURI(fragment);
} catch(e) {
}
if (this.fragment === fragment) return; if (this.fragment === fragment) return;
this.fragment = fragment; this.fragment = fragment;

Loading…
Cancel
Save