Browse Source

Fix mixed tabs/spaces.

pull/229/head
Joachim Bauch 11 years ago
parent
commit
689e2e0c15
  1. 4
      static/js/main.js
  2. 4
      static/js/services/desktopnotify.js
  3. 4
      static/js/services/geolocation.js

4
static/js/main.js

@ -181,8 +181,8 @@ if (Object.create) { @@ -181,8 +181,8 @@ if (Object.create) {
custom: {
families: ["FontAwesome"],
testStrings: {
"FontAwesome": '\uf004\uf005'
}
"FontAwesome": '\uf004\uf005'
}
},
active: function() {
console.log("Web fonts loaded.");

4
static/js/services/desktopnotify.js

@ -29,8 +29,8 @@ define(['jquery', 'underscore', 'desktop-notify'], function($, _, notify) { @@ -29,8 +29,8 @@ define(['jquery', 'underscore', 'desktop-notify'], function($, _, notify) {
var iconElement = $("<span>").addClass("desktopnotify-icon hidden");
iconElement.appendTo("body");
var url = iconElement.css('background-image');
url = /^url\((['"]?)(.*)\1\)$/.exec(url);
url = url ? url[2] : "";
url = /^url\((['"]?)(.*)\1\)$/.exec(url);
url = url ? url[2] : "";
iconElement.remove();
return url;
}());

4
static/js/services/geolocation.js

@ -29,8 +29,8 @@ define(['underscore', 'modernizr'], function(_, Modernizr) { @@ -29,8 +29,8 @@ define(['underscore', 'modernizr'], function(_, Modernizr) {
var defaults = {
enableHighAccuracy: true,
timeout: 5000,
maximumAge: 0
timeout: 5000,
maximumAge: 0
};
return {

Loading…
Cancel
Save