Skip to content

Commit

Permalink
Replaced test command with dummy command.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebertin committed Nov 16, 2016
1 parent fb7b070 commit 768f3fc
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 28 deletions.
51 changes: 25 additions & 26 deletions dist/visiomatic-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -2300,7 +2300,7 @@ L.SpinBox = L.Evented.extend({
}
}, this);
}

if (options.disabled) {
this.disable();
}
Expand Down Expand Up @@ -2446,9 +2446,9 @@ L.spinbox = function (parent, options) {
// loadMessage - Message to display while initial tree loads (can be HTML)
//
// TERMS OF USE
//
//
// This plugin is dual-licensed under the GNU General Public License and the MIT License and
// is copyright 2008 A Beautiful Site, LLC.
// is copyright 2008 A Beautiful Site, LLC.
//
*/

Expand Down Expand Up @@ -2590,7 +2590,7 @@ L.Map.addInitHook(function () {


/*
# L.Control.ExtraMap adds support for extra synchronized maps
# L.Control.ExtraMap adds support for extra synchronized maps
# (Picture-in-Picture style). Adapted from L.Control.MiniMap by Norkart
# (original copyright notice reproduced below).
#
Expand Down Expand Up @@ -2685,7 +2685,7 @@ L.Control.ExtraMap = L.Control.extend({
});

this._layer.addTo(this._extraMap);

// These bools are used to prevent infinite loops of the two maps notifying
// each other that they've moved.
// this._mainMapMoving = false;
Expand Down Expand Up @@ -2925,17 +2925,17 @@ L.Control.ExtraMap = L.Control.extend({
return typeof value !== 'undefined';
},
});

L.Map.mergeOptions({
extraMapControl: false
});

L.Map.addInitHook(function () {
if (this.options.extraMapControl) {
this.extraMapControl = (new L.Control.ExtraMap()).addTo(this);
}
});

L.control.extraMap = function (layer, options) {
return new L.Control.ExtraMap(layer, options);
};
Expand Down Expand Up @@ -2990,21 +2990,21 @@ if (typeof require !== 'undefined') {
title: 'Toggle full screen mode',
forceSeparateButton: false
},

onAdd: function (map) {
var className = 'leaflet-control-zoom-fullscreen', container;

if (map.zoomControl && !this.options.forceSeparateButton) {
container = map.zoomControl._container;
} else {
container = L.DomUtil.create('div', 'leaflet-bar');
}

this._createButton(this.options.title, className, container, this.toogleFullScreen, map);

return container;
},

_createButton: function (title, className, container, fn, context) {
var link = L.DomUtil.create('a', className, container);
link.href = '#';
Expand Down Expand Up @@ -3052,7 +3052,7 @@ if (typeof require !== 'undefined') {
this._isFullscreen = true;
}
},

_handleEscKey: function () {
if (!fullScreenApi.isFullScreen(this) && !this._exitFired) {
this.fire('exitFullscreen');
Expand All @@ -3073,7 +3073,7 @@ if (typeof require !== 'undefined') {
return new L.Control.FullScreen(options);
};

/*
/*
Native FullScreen JavaScript API
-------------
Assumes Mozilla naming conventions instead of W3C for now
Expand All @@ -3091,7 +3091,7 @@ source : http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugi
prefix: ''
},
browserPrefixes = 'webkit moz o ms khtml'.split(' ');

// check for native support
if (typeof document.exitFullscreen !== 'undefined') {
fullScreenApi.supportsFullScreen = true;
Expand All @@ -3105,7 +3105,7 @@ source : http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugi
}
}
}

// update methods to do something useful
if (fullScreenApi.supportsFullScreen) {
fullScreenApi.fullScreenEventName = fullScreenApi.prefix + 'fullscreenchange';
Expand Down Expand Up @@ -3167,7 +3167,6 @@ L.Control.IIP = L.Control.extend({
position: 'topleft'
},


initialize: function (baseLayers, options) {
L.setOptions(this, options);
this._className = 'leaflet-control-iip';
Expand Down Expand Up @@ -3566,7 +3565,7 @@ L.Control.IIP = L.Control.extend({
}, this);
inputdiv.appendChild(input);
}

var name = L.DomUtil.create('div', 'leaflet-control-iip-layername', layerItem);
name.innerHTML = ' ' + obj.name;
name.style.textShadow = '0px 0px 5px ' + obj.layer.nameColor;
Expand Down Expand Up @@ -3971,7 +3970,7 @@ L.Control.IIP.Channel = L.Control.IIP.extend({
// Create Mode selection control section
modebutton = this._createRadioButton(className + '-radio', modeinput, 'mono',
(this._mode === 'mono'), function () {
// Save previous settings
// Save previous settings
_this.saveSettings(layer, _this._mode);

// Remove previous dialogs
Expand All @@ -3989,7 +3988,7 @@ L.Control.IIP.Channel = L.Control.IIP.extend({

modebutton = this._createRadioButton(className + '-radio', modeinput, 'color',
(this._mode !== 'mono'), function () {
// Save previous settings
// Save previous settings
_this.saveSettings(layer, _this._mode);
// Remove previous dialogs
for (elem = box.lastChild; elem !== modeline; elem = box.lastChild) {
Expand Down Expand Up @@ -4056,7 +4055,7 @@ L.Control.IIP.Channel = L.Control.IIP.extend({
this._addMinMax(layer, layer.iipChannel, box);
layer.redraw();
},

_initColorDialog: function (layer, box) {
// Multiple Channels with mixing matrix

Expand Down Expand Up @@ -4331,7 +4330,7 @@ L.Control.IIP.Doc = L.Control.IIP.extend({
_onloadNav: function () {
if (true) {
// Force all external iframe links to open in new tab/window
// from
// from
var as = this._iframe.contentDocument.getElementsByTagName('a');
for (var i = 0; i < as.length; i++) {
if (L.IIPUtils.isExternal(as[i].href)) {
Expand Down Expand Up @@ -5125,7 +5124,7 @@ L.Control.Layers.IIP = L.Control.Layers.extend({
L.DomEvent.on(input, 'click', this._onInputClick, this);
inputdiv.appendChild(input);
}

var name = L.DomUtil.create('div', 'leaflet-control-layers-name', item);
name.innerHTML = ' ' + obj.name;
name.style.textShadow = '0px 0px 5px ' + obj.layer.nameColor;
Expand Down Expand Up @@ -5469,7 +5468,7 @@ L.control.scale.wcs = function (options) {


/*
# L.Control.Sidebar adds support for responsive side bars
# L.Control.Sidebar adds support for responsive side bars
# Adapted from the leaflet-sidebar plugin by Tobias Bieniek
# (original copyright notice reproduced below).
#
Expand Down Expand Up @@ -5557,7 +5556,7 @@ L.Control.Sidebar = L.Control.extend({
var className = 'leaflet-control-zoom-sidebar',
parent = map._controlContainer,
buttonContainer;

// Create sidebar
L.DomUtil.addClass(map._container, 'sidebar-map');
parent.insertBefore(this._sidebar, parent.firstChild);
Expand All @@ -5573,7 +5572,7 @@ L.Control.Sidebar = L.Control.extend({
} else {
buttonContainer = L.DomUtil.create('div', 'leaflet-bar');
}

this._toggleButton = this._createButton(this.options.title,
className + (this.options.collapsed ? ' collapsed' : ''), buttonContainer);

Expand Down
Loading

0 comments on commit 768f3fc

Please sign in to comment.