Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Oprava volani split u undefined

  • Loading branch information...
commit 4169afa493f9bb653eb9e6417f0201930fbb84fb 1 parent d9a9480
@JakubMrozek authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  public/js/services.js
View
1  public/js/services.js
@@ -58,6 +58,7 @@ angular.module('zdrojakServices', ['ngResource'])
},
getParamsFromUrl: function(url) {
var params = {};
+ if (!url) return params;
url.split('@').forEach(function(rule){
var parts = rule.split(':');
params[parts[0]] = parts[1].split(',');
Please sign in to comment.
Something went wrong with that request. Please try again.