[TASK] Use strict

This commit is contained in:
Xaver Maierhofer 2016-05-27 23:59:01 +02:00 committed by Milan Pässler
commit ae59f75594
36 changed files with 74 additions and 6 deletions

View file

@ -1,4 +1,6 @@
define(["helper"], function (helper) {
"use strict";
function showStatImg(o, d) {
var subst = {};
subst["{SOURCE}"] = d.source.node_id;

View file

@ -1,4 +1,6 @@
define(["helper"], function (helper) {
"use strict";
return function (config, el, router, d) {
var sidebarTitle = document.createElement("h2");
sidebarTitle.textContent = "Location: " + d.toString();

View file

@ -1,4 +1,6 @@
define(["infobox/link", "infobox/node", "infobox/location"], function (Link, Node, Location) {
"use strict";
return function (config, sidebar, router) {
var self = this;
var el;

View file

@ -1,5 +1,7 @@
define(["moment", "tablesort", "helper", "moment.de"],
function (moment, Tablesort, helper) {
"use strict";
function showGeoURI(d) {
function showLatitude(d) {
var suffix = Math.sign(d) > -1 ? "'N" : "'S";