diff options
-rw-r--r-- | lib/handlers/api.ts | 1 | ||||
-rw-r--r-- | lib/handlers/route-api.ts | 1 | ||||
-rw-r--r-- | static/compiler-service.ts | 1 | ||||
-rw-r--r-- | static/main.ts | 1 | ||||
-rw-r--r-- | static/panes/compiler.ts | 7 | ||||
-rw-r--r-- | static/sharing.ts | 1 |
6 files changed, 2 insertions, 10 deletions
diff --git a/lib/handlers/api.ts b/lib/handlers/api.ts index 1df9ab746..659dad09e 100644 --- a/lib/handlers/api.ts +++ b/lib/handlers/api.ts @@ -22,7 +22,6 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -import * as Sentry from '@sentry/node'; import bodyParser from 'body-parser'; import express from 'express'; import _ from 'underscore'; diff --git a/lib/handlers/route-api.ts b/lib/handlers/route-api.ts index 7ecfea214..608c46d14 100644 --- a/lib/handlers/route-api.ts +++ b/lib/handlers/route-api.ts @@ -22,7 +22,6 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -import * as Sentry from '@sentry/node'; import express from 'express'; import {assert, unwrap} from '../assert.js'; diff --git a/static/compiler-service.ts b/static/compiler-service.ts index 7baa58e2c..1fb435c43 100644 --- a/static/compiler-service.ts +++ b/static/compiler-service.ts @@ -23,7 +23,6 @@ // POSSIBILITY OF SUCH DAMAGE. import $ from 'jquery'; -import * as Sentry from '@sentry/browser'; import _ from 'underscore'; import {LRUCache} from 'lru-cache'; import {EventEmitter} from 'golden-layout'; diff --git a/static/main.ts b/static/main.ts index bacda5f46..124b774b1 100644 --- a/static/main.ts +++ b/static/main.ts @@ -35,7 +35,6 @@ import _ from 'underscore'; import GoldenLayout from 'golden-layout'; import JsCookie from 'js-cookie'; import clipboard from 'clipboard'; -import * as Sentry from '@sentry/browser'; // We re-assign this let jsCookie = JsCookie; diff --git a/static/panes/compiler.ts b/static/panes/compiler.ts index 5393a71af..b785c54e6 100644 --- a/static/panes/compiler.ts +++ b/static/panes/compiler.ts @@ -60,7 +60,6 @@ import {LLVMOptPipelineBackendOptions} from '../../types/compilation/llvm-opt-pi import {CompilationResult, FiledataPair} from '../../types/compilation/compilation.interfaces.js'; import {ResultLine} from '../../types/resultline/resultline.interfaces.js'; import * as utils from '../utils.js'; -import * as Sentry from '@sentry/browser'; import {editor} from 'monaco-editor'; import IEditorMouseEvent = editor.IEditorMouseEvent; import {Tool, ArtifactType, Artifact} from '../../types/tool.interfaces.js'; @@ -3398,10 +3397,8 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co const buf = new ArrayBuffer(8); // PTX floats new BigUint64Array(buf)[0] = BigInt(numericValue.toString()); - if (this.ptxFloat32.test(value)) - return new Float32Array(buf)[0].toPrecision(9) + 'f'; - if (this.ptxFloat64.test(value)) - return new Float64Array(buf)[0].toPrecision(17); + if (this.ptxFloat32.test(value)) return new Float32Array(buf)[0].toPrecision(9) + 'f'; + if (this.ptxFloat64.test(value)) return new Float64Array(buf)[0].toPrecision(17); // Decimal representation. let result = numericValue.toString(10); diff --git a/static/sharing.ts b/static/sharing.ts index 40b2de3fb..aaab97b58 100644 --- a/static/sharing.ts +++ b/static/sharing.ts @@ -23,7 +23,6 @@ // POSSIBILITY OF SUCH DAMAGE. import $ from 'jquery'; -import * as Sentry from '@sentry/browser'; import GoldenLayout from 'golden-layout'; import _ from 'underscore'; import ClipboardJS from 'clipboard'; |