MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / _appendScriptName

Method _appendScriptName

packages/alphatab/src/Environment.ts:301–310  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

299 }
300
301 private static _appendScriptName(url: string): string {
302 // append script name
303 if (url && !url.endsWith('.js')) {
304 if (!url.endsWith('/')) {
305 url += '/';
306 }
307 url += 'alphaTab.js';
308 }
309 return url;
310 }
311
312 /**
313 * @target web

Callers 1

_detectScriptFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected