mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-02-08 19:28:41 +00:00
Use strict
This commit is contained in:
parent
8ed7416b83
commit
73db2a96aa
|
|
@ -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 = [];
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user