Kaynağa Gözat

Simplify & remove edition

customisations
alemart 1 yıl önce
ebeveyn
işleme
7a34ac38c8
3 değiştirilmiş dosya ile 2 ekleme ve 17 silme
  1. 0
    6
      docs/api/martins.md
  2. 1
    2
      src/core/stats-panel.ts
  3. 1
    9
      src/main.ts

+ 0
- 6
docs/api/martins.md Dosyayı Görüntüle

@@ -18,12 +18,6 @@ The [settings](settings.md) of the engine.
18 18
 
19 19
 The version of MARTINS.js.
20 20
 
21
-### edition
22
-
23
-`Martins.edition: string, read-only`
24
-
25
-The edition of MARTINS.js.
26
-
27 21
 ## Methods
28 22
 
29 23
 ### isSupported

+ 1
- 2
src/core/stats-panel.ts Dosyayı Görüntüle

@@ -121,8 +121,7 @@ export class StatsPanel
121 121
         };
122 122
 
123 123
         this._container.textContent = (
124
-            `MARTINS.js ${Martins.edition}
125
-            Version ${Martins.version}
124
+            `MARTINS.js v${Martins.version}
126 125
             FPS: [fps] | GPU: [gpu] [powerIcon]
127 126
             IN : ${sourceStats}
128 127
             OUT: ${trackerStats}`

+ 1
- 9
src/main.ts Dosyayı Görüntüle

@@ -93,14 +93,6 @@ export default class Martins
93 93
     }
94 94
 
95 95
     /**
96
-     * Engine edition
97
-     */
98
-    static get edition(): string
99
-    {
100
-        return 'Free Edition';
101
-    }
102
-
103
-    /**
104 96
      * Speedy Vision
105 97
      */
106 98
     static get Speedy(): typeof Speedy
@@ -126,7 +118,7 @@ Object.freeze(Martins);
126 118
 
127 119
 // Display a notice
128 120
 Utils.log(
129
-    `MARTINS.js ${Martins.edition} version ${Martins.version}. ` +
121
+    `MARTINS.js version ${Martins.version}. ` +
130 122
     `GPU-accelerated Augmented Reality for the web by Alexandre Martins. ` +
131 123
     __MARTINS_WEBSITE__
132 124
 );

Loading…
İptal
Kaydet