Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sass_api with JavaScript API? #1440

Closed
niksy opened this issue Aug 13, 2021 · 1 comment
Closed

sass_api with JavaScript API? #1440

niksy opened this issue Aug 13, 2021 · 1 comment

Comments

@niksy
Copy link

niksy commented Aug 13, 2021

Are there any plans for JavaScript API for sass_api package?

I’ve tried compiling Dart version to JS with dart2js but I’m getting errors:

sass_api.js:4460 Uncaught TypeError: J.getInterceptor$s(...).get$codeUnits is not a function
    at Object.get$codeUnits$s (sass_api.js:4460)
    at Object.SourceFile$fromString (file.dart:62)
    at Object.SpanScanner$ (span_scanner.dart:63)
    at Object.Parser$ (parser.dart:52)
    at Object.Parser_parseIdentifier (parser.dart:32)
    at Object.main (sass_api.dart:30)
    at callMain (js_helper.dart:2684)
    at js_helper.dart:2684
    at js_helper.dart:2684
    at dartProgram (js_helper.dart:2684)
@jathak
Copy link
Member

jathak commented Aug 18, 2021

Duplicate of #88.

@jathak jathak closed this as completed Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants