Skip to content
代码片段 群组 项目
提交 b4c70801 编辑于 作者: Bharat Dandu's avatar Bharat Dandu
浏览文件

cleanup

上级 006cc9ea
No related branches found
No related tags found
无相关合并请求
......@@ -338,7 +338,7 @@ function endpoint_type_identifier(endpointTypeId) {
queryImpexp
.exportEndpoints(this.global.db, this.global.sessionId, endpointTypes)
.then((endpoints) => {
var i
let i = 0
for (i = 0; i < endpoints.length; i++) {
if (endpointTypeId == endpoints[i].endpointTypeRef) {
return endpoints[i].endpointId
......
......@@ -165,8 +165,8 @@ function isEqual(string_a, string_b) {
* @param {*} string_b
*/
function is_lowercase_equal(string_a, string_b) {
str1 = string_a.toLowerCase().replace(/\"/g, '').trim()
str2 = string_b.toLowerCase().replace(/\"/g, '').trim()
str1 = string_a.toLowerCase().replace(/"/g, '').trim()
str2 = string_b.toLowerCase().replace(/"/g, '').trim()
return 0 == str1.localeCompare(str2)
}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册