1 (function () {
2
3 var SomgLib= {
4
5 //---------------------------------------------------------------------------
6
7 VERSION: "2.3.3",
8
9 //---------------------------------------------------------------------------
10 create:function(){
11 }
12
13 doSomeThing......
14 }
15 //===========================================================================
16
17 //======
18 // NODE
19 //======
20 if (typeof exports !== 'undefined') {
21 if (typeof module !== 'undefined' && module.exports) {
22 exports = module.exports = SomgLib;
23 }
24 exports.StateMachine = SomgLib;
25 }
26 //============
27 // AMD/REQUIRE
28 //============
29 else if (typeof define === 'function' && define.amd) {
30 define(function(require) { return SomgLib; });
31 }
32 //========
33 // BROWSER
34 //========
35 else if (typeof window !== 'undefined') {
36 window.SomgLib= SomgLib;
37 }
38 //===========
39 // WEB WORKER
40 //===========
41 else if (typeof self !== 'undefined') {
42 self.SomgLib= SomgLib;
43 }
44
45 }());