Browse Source

Merge pull request #229 from fancycode/jshint_errors

Fix some jshint errors
pull/241/head
Simon Eisenmann 10 years ago
parent
commit
97fd691773
  1. 2
      static/js/services/alertify.js

2
static/js/services/alertify.js

@ -108,7 +108,7 @@ define(["angular"], function(angular) {
if (!conf || if (!conf ||
conf && !conf.type || conf && !conf.type ||
conf && !conf.baseType) { conf && !conf.baseType) {
throw Error("Custom template not configured correctly."); throw new Error("Custom template not configured correctly.");
} }
var templateUrl = '/dialogs/' + conf.type + '.html'; var templateUrl = '/dialogs/' + conf.type + '.html';
if (conf.template) { if (conf.template) {

Loading…
Cancel
Save