Use strict

This commit is contained in:
Dennis Eichhorn 2016-07-05 18:11:29 +02:00
parent 8ed7416b83
commit 73db2a96aa
4 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,6 @@
(function (jsOMS) { (function (jsOMS) {
"use strict";
jsOMS.Modules.Draw = function (app) { jsOMS.Modules.Draw = function (app) {
this.app = app; this.app = app;
this.editors = []; this.editors = [];

View File

@ -9,6 +9,8 @@
*/ */
(function (jsOMS) (function (jsOMS)
{ {
"use strict";
jsOMS.Modules.Draw.DrawTypeEnum = Object.freeze({ jsOMS.Modules.Draw.DrawTypeEnum = Object.freeze({
DRAW: 0, DRAW: 0,
LINE: 1, LINE: 1,

View File

@ -1,5 +1,7 @@
(function (jsOMS) (function (jsOMS)
{ {
"use strict";
jsOMS.Modules.Draw.Editor = function (editor) jsOMS.Modules.Draw.Editor = function (editor)
{ {
this.editor = editor; this.editor = editor;

View File

@ -1,5 +1,7 @@
(function (jsOMS) (function (jsOMS)
{ {
"use strict";
jsOMS.Modules.Draw = function (app) jsOMS.Modules.Draw = function (app)
{ {
this.app = app; this.app = app;
@ -57,6 +59,8 @@ jsOMS.ready(function ()
*/ */
(function (jsOMS) (function (jsOMS)
{ {
"use strict";
jsOMS.Modules.Draw.DrawTypeEnum = Object.freeze({ jsOMS.Modules.Draw.DrawTypeEnum = Object.freeze({
DRAW: 0, DRAW: 0,
LINE: 1, LINE: 1,
@ -67,6 +71,8 @@ jsOMS.ready(function ()
(function (jsOMS) (function (jsOMS)
{ {
"use strict";
jsOMS.Modules.Draw.Editor = function (editor) jsOMS.Modules.Draw.Editor = function (editor)
{ {
this.editor = editor; this.editor = editor;