Fix some jshint errors
@ -181,8 +181,8 @@ if (Object.create) {
custom: {
families: ["FontAwesome"],
testStrings: {
"FontAwesome": '\uf004\uf005'
}
},
active: function() {
console.log("Web fonts loaded.");
@ -108,7 +108,7 @@ define(["angular"], function(angular) {
if (!conf ||
conf && !conf.type ||
conf && !conf.baseType) {
throw Error("Custom template not configured correctly.");
throw new Error("Custom template not configured correctly.");
var templateUrl = '/dialogs/' + conf.type + '.html';
if (conf.template) {
@ -29,8 +29,8 @@ define(['underscore', 'modernizr'], function(_, Modernizr) {
var defaults = {
enableHighAccuracy: true,
timeout: 5000,
maximumAge: 0
};
return {