pome-ui 2.0.0-preview5 → 2.0.0-preview6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pome-ui",
3
- "version": "2.0.0-preview5",
3
+ "version": "2.0.0-preview6",
4
4
  "description": "Front-end MVC library",
5
5
  "main": "pome-ui.js",
6
6
  "bin": {
package/pome-ui.dev.js CHANGED
@@ -16090,12 +16090,28 @@ function build(options, exports) {
16090
16090
  }
16091
16091
  };
16092
16092
 
16093
+ function _getQueryString() {
16094
+ var ret = window.location.search;
16095
+
16096
+ if (window.location.hash.indexOf('?') > 0) {
16097
+ var hashSearch = window.location.hash.substr(window.location.hash.indexOf('?'));
16098
+ if (ret) {
16099
+ ret += '&' + hashSearch.substr(1);
16100
+ } else {
16101
+ ret = hashSearch;
16102
+ }
16103
+ }
16104
+
16105
+ return ret;
16106
+ }
16107
+
16093
16108
  function _parseQueryString(dest) {
16094
- if (!window.location.search) {
16109
+ var qs = _getQueryString();
16110
+ if (!qs) {
16095
16111
  return;
16096
16112
  }
16097
16113
 
16098
- var str = window.location.search;
16114
+ var str = qs;
16099
16115
  if (str[0] == '?') {
16100
16116
  str = str.substr(1);
16101
16117
  }