Initial commit

Initial commit
This commit is contained in:
Stephen 2026-06-23 12:17:03 -04:00
commit 99f2db2161
16 changed files with 8699 additions and 0 deletions

View file

@ -0,0 +1,16 @@
import Foundation
enum BundledScript {
static func universalJS() throws -> String {
let bundle = Bundle(for: BundleToken.self)
guard let url = bundle.url(forResource: "universal", withExtension: "js"),
let source = try? String(contentsOf: url, encoding: .utf8),
!source.isEmpty else {
throw StikJITError.scriptUnavailable
}
return source
}
}
private final class BundleToken {}