Skip to content
Snippets Groups Projects
Commit d8f431d5 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

JS Hint

parent fa57397e
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ angular.module('cesium.es.http.services', ['ngResource', 'ngApi', 'cesium.servic
prefix = prefix || '#';
var reg = prefix === '@' ? regexp.USER_TAG : regexp.HASH_TAG;
var matches = value && reg.exec(value);
var tags = undefined;
var tags;
while(matches) {
var tag = matches[1];
tags = tags || [];
......@@ -175,8 +175,7 @@ angular.module('cesium.es.http.services', ['ngResource', 'ngApi', 'cesium.servic
function parseUrlsFromText(value) {
var matches = value && regexp.URL.exec(value);
var urls = undefined;
var urls;
while(matches) {
var url = matches[0];
urls = urls || [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment