30b12fe8807L6733">6733
                        if (!(charCode >= 48 && charCode <= 57 || charCode >= 97 && charCode <= 102 || charCode >= 65 && charCode <= 70)) {
6734
                          // Invalid Unicode escape sequence.
6735
                          abort();
6736
                        }
6737
                      }
6738
                      // Revive the escaped character.
6739
                      value += fromCharCode("0x" + source.slice(begin, Index));
6740
                      break;
6741
                    default:
6742
                      // Invalid escape sequence.
6743
                      abort();
6744
                  }
6745
                } else {
6746
                  if (charCode == 34) {
6747
                    // An unescaped double-quote character marks the end of the
6748
                    // string.
6749
                    break;
6750
                  }
6751
                  charCode = source.charCodeAt(Index);
6752
                  begin = Index;
6753
                  // Optimize for the common case where a string is valid.
6754
                  while (charCode >= 32 && charCode != 92 && charCode != 34) {
6755
                    charCode = source.charCodeAt(++Index);
6756
                  }
6757
                  // Append the string as-is.
6758
                  value += source.slice(begin, Index);
6759
                }
6760
              }
6761
              if (source.charCodeAt(Index) == 34) {
6762
                // Advance to the next character and return the revived string.
6763
                Index++;
6764
                return value;
6765
              }
6766
              // Unterminated string.
6767
              abort();
6768
            default:
6769
              // Parse numbers and literals.
6770
              begin = Index;
6771
              // Advance past the negative sign, if one is specified.
6772
              if (charCode == 45) {
6773
                isSigned = true;
6774
                charCode = source.charCodeAt(++Index);
6775
              }
6776
              // Parse an integer or floating-point value.
6777
              if (charCode >= 48 && charCode <= 57) {
6778
                // Leading zeroes are interpreted as octal literals.
6779
                if (charCode == 48 && ((charCode = source.charCodeAt(Index + 1)), charCode >= 48 && charCode <= 57)) {
6780
                  // Illegal octal literal.
6781
                  abort();
6782
                }
6783
                isSigned = false;
6784
                // Parse the integer component.
6785
                for (; Index < length && ((charCode = source.charCodeAt(Index)), charCode >= 48 && charCode <= 57); Index++);
6786
                // Floats cannot contain a leading decimal point; however, this
6787
                // case is already accounted for by the parser.
6788
                if (source.charCodeAt(Index) == 46) {
6789
                  position = ++Index;
6790
                  // Parse the decimal component.
6791
                  for (; position < length && ((charCode = source.charCodeAt(position)), charCode >= 48 && charCode <= 57); position++);
6792
                  if (position == Index) {
6793
                    // Illegal trailing decimal.
6794
                    abort();
6795
                  }
6796
                  Index = position;
6797
                }
6798
                // Parse exponents. The `e` denoting the exponent is
6799
                // case-insensitive.
6800
                charCode = source.charCodeAt(Index);
6801
                if (charCode == 101 || charCode == 69) {
6802
                  charCode = source.charCodeAt(++Index);
6803
                  // Skip past the sign following the exponent, if one is
6804
                  // specified.
6805
                  if (charCode == 43 || charCode == 45) {
6806
                    Index++;
6807
                  }
6808
                  // Parse the exponential component.
6809
                  for (position = Index; position < length && ((charCode = source.charCodeAt(position)), charCode >= 48 && charCode <= 57); position++);
6810
                  if (position == Index) {
6811
                    // Illegal empty exponent.
6812
                    abort();
6813
                  }
6814
                  Index = position;
6815
                }
6816
                // Coerce the parsed value to a JavaScript number.
6817
                return +source.slice(begin, Index);
6818
              }
6819
              // A negative sign may only precede numbers.
6820
              if (isSigned) {
6821
                abort();
6822
              }
6823
              // `true`, `false`, and `null` literals.
6824
              if (source.slice(Index, Index + 4) == "true") {
6825
                Index += 4;
6826
                return true;
6827
              } else if (source.slice(Index, Index + 5) == "false") {
6828
                Index += 5;
6829
                return false;
6830
              } else if (source.slice(Index, Index + 4) == "null") {
6831
                Index += 4;
6832
                return null;
6833
              }
6834
              // Unrecognized token.
6835
              abort();
6836
          }
6837
        }
6838
        // Return the sentinel `$` character if the parser has reached the end
6839
        // of the source string.
6840
        return "$";
6841
      };
6842
6843
      // Internal: Parses a JSON `value` token.
6844
      var get = function (value) {
6845
        var results, hasMembers;
6846
        if (value == "$") {
6847
          // Unexpected end of input.
6848
          abort();
6849
        }
6850
        if (typeof value == "string") {
6851
          if ((charIndexBuggy ? value.charAt(0) : value[0]) == "@") {
6852
            // Remove the sentinel `@` character.
6853
            return value.slice(1);
6854
          }
6855
          // Parse object and array literals.
6856
          if (value == "[") {
6857
            // Parses a JSON array, returning a new JavaScript array.
6858
            results = [];
6859
            for (;; hasMembers || (hasMembers = true)) {
6860
              value = lex();
6861
              // A closing square bracket marks the end of the array literal.
6862
              if (value == "]") {
6863
                break;
6864
              }
6865
              // If the array literal contains elements, the current token
6866
              // should be a comma separating the previous element from the
6867
              // next.
6868
              if (hasMembers) {
6869
                if (value == ",") {
6870
                  value = lex();
6871
                  if (value == "]") {
6872
                    // Unexpected trailing `,` in array literal.
6873
                    abort();
6874
                  }
6875
                } else {
6876
                  // A `,` must separate each array element.
6877
                  abort();
6878
                }
6879
              }
6880
              // Elisions and leading commas are not permitted.
6881
              if (value == ",") {
6882
                abort();
6883
              }
6884
              results.push(get(value));
6885
            }
6886
            return results;
6887
          } else if (value == "{") {
6888
            // Parses a JSON object, returning a new JavaScript object.
6889
            results = {};
6890
            for (;; hasMembers || (hasMembers = true)) {
6891
              value = lex();
6892
              // A closing curly brace marks the end of the object literal.
6893
              if (value == "}") {
6894
                break;
6895
              }
6896
              // If the object literal contains members, the current token
6897
              // should be a comma separator.
6898
              if (hasMembers) {
6899
                if (value == ",") {
6900
                  value = lex();
6901
                  if (value == "}") {
6902
                    // Unexpected trailing `,` in object literal.
6903
                    abort();
6904
                  }
6905
                } else {
6906
                  // A `,` must separate each object member.
6907
                  abort();
6908
                }
6909
              }
6910
              // Leading commas are not permitted, object property names must be
6911
              // double-quoted strings, and a `:` must separate each property
6912
              // name and value.
6913
              if (value == "," || typeof value != "string" || (charIndexBuggy ? value.charAt(0) : value[0]) != "@" || lex() != ":") {
6914
                abort();
6915
              }
6916
              results[value.slice(1)] = get(lex());
6917
            }
6918
            return results;
6919
          }
6920
          // Unexpected token encountered.
6921
          abort();
6922
        }
6923
        return value;
6924
      };
6925
6926
      // Internal: Updates a traversed object member.
6927
      var update = function(source, property, callback) {
6928
        var element = walk(source, property, callback);
6929
        if (element === undef) {
6930
          delete source[property];
6931
        } else {
6932
          source[property] = element;
6933
        }
6934
      };
6935
6936
      // Internal: Recursively traverses a parsed JSON object, invoking the
6937
      // `callback` function for each value. This is an implementation of the
6938
      // `Walk(holder, name)` operation defined in ES 5.1 section 15.12.2.
6939
      var walk = function (source, property, callback) {
6940
        var value = source[property], length;
6941
        if (typeof value == "object" && value) {
6942
          // `forEach` can't be used to traverse an array in Opera <= 8.54
6943
          // because its `Object#hasOwnProperty` implementation returns `false`
6944
          // for array indices (e.g., `![1, 2, 3].hasOwnProperty("0")`).
6945
          if (getClass.call(value) == arrayClass) {
6946
            for (length = value.length; length--;) {
6947
              update(value, length, callback);
6948
            }
6949
          } else {
6950
            forEach(value, function (property) {
6951
              update(value, property, callback);
6952
            });
6953
          }
6954
        }
6955
        return callback.call(source, property, value);
6956
      };
6957
6958
      // Public: `JSON.parse`. See ES 5.1 section 15.12.2.
6959
      JSON3.parse = function (source, callback) {
6960
        var result, value;
6961
        Index = 0;
6962
        Source = "" + source;
6963
        result = get(lex());
6964
        // If a JSON string contains multiple tokens, it is invalid.
6965
        if (lex() != "$") {
6966
          abort();
6967
        }
6968
        // Reset the parser state.
6969
        Index = Source = null;
6970
        return callback && getClass.call(callback) == functionClass ? walk((value = {}, value[""] = result, value), "", callback) : result;
6971
      };
6972
    }
6973
  }
6974
6975
  // Export for asynchronous module loaders.
6976
  if (isLoader) {
6977
    define(function () {
6978
      return JSON3;
6979
    });
6980
  }
6981
}(this));
6982
6983
},{}],50:[function(_dereq_,module,exports){
6984
module.exports = toArray
6985
6986
function toArray(list, index) {
6987
    var array = []
6988
6989
    index = index || 0
6990
6991
    for (var i = index || 0; i < list.length; i++) {
6992
        array[i - index] = list[i]
6993
    }
6994
6995
    return array
6996
}
6997
6998
},{}]},{},[1])
6999
(1)
7000
});

修改android联系人插件 怎么多个号码 ,多个邮件 · 0e6faff1b8 - Nuosi Git Service
瀏覽代碼

修改android联系人插件 怎么多个号码 ,多个邮件

wanyao 7 年之前
父節點
當前提交
0e6faff1b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ipu-plugin-basic/src/main/java/com/ai/ipu/mobile/plugin/MobileContactDetail.java

+ 1 - 1
ipu-plugin-basic/src/main/java/com/ai/ipu/mobile/plugin/MobileContactDetail.java

@ -15,7 +15,7 @@ public class MobileContactDetail extends Plugin{
15 15

16 16
    public MobileContactDetail(IIpuMobile ipumobile){
17 17
        super(ipumobile);
18
    }
18
    }  
19 19

20 20
    /**
21 21
    * @Title: getContacts

1 · 13183d1601 - Nuosi Git Service
huangbo 9 years ago
parent
commit
13183d1601
1 changed files with 2 additions and 2 deletions
  1. 2 2
      display-client/assets/mobile-config.xml

+ 2 - 2
display-client/assets/mobile-config.xml

@ -1,9 +1,9 @@
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<configs>
3 3
    <!-- 请求主机名或请求地址。包括服务器的ip地址和端口 -->
4
	<!-- <config name="request_host" value="http://114.215.100.48:8080"/> -->
4
	<config name="request_host" value="http://114.215.100.48:8080"/>
5 5
	<!-- 必须。10.0.2.2为Android模拟器的保留ip地址。访问到本机电脑时使用 -->
6
	<config name="request_host" value="http://10.0.2.2:8080"/>
6
	<!-- <config name="request_host" value="http://10.0.2.2:8080"/> -->
7 7
	<!-- 必须。容器应用名或请求根路径 -->
8 8
	<config name="request_path" value="/display"/>
9 9
	<!-- 必须。数据接口的servlet路径 -->