Giter Club home page Giter Club logo

Comments (5)

brandonmcconnell avatar brandonmcconnell commented on May 24, 2024 1

@CvdL-UM I'll assign this to myself and try to get to this soon. Thanks for calling this out!

from typed.css.

brandonmcconnell avatar brandonmcconnell commented on May 24, 2024

@CvdL-UM My apologies for the delay here…

I tried the example you supplied, and it appears to work for me:

@include typed("String1", "String2", "String3<[100]>")

Does this exact example not work for you?

from typed.css.

CvdL-UM avatar CvdL-UM commented on May 24, 2024

Hey @brandonmcconnell, I should have been clearer in my initial description! <100> works fine, but if I up it to <150> for example, things start to break down

from typed.css.

brandonmcconnell avatar brandonmcconnell commented on May 24, 2024

@CvdL-UM I intend to look into this in the next month. I'm pretty swamped with other work at the moment. If you have an idea of what the problem/fix might be, feel free to let me know or even open a PR to speed up the process. πŸ™‚

from typed.css.

tannerln7 avatar tannerln7 commented on May 24, 2024

@brandonmcconnell
I encountered this as well. Adding a delay over 450 mid-string causes a Stack Overflow exception in the sass compiler for me. (Using the npm JavaScript version)
Example where I ran into this.

.body p1 {
    @include typed("<[451]>", 1.5, (caret-width: 1ch, caret-space: 1ch, iterations: 0))
}

Here's the console output from the compiler... It doesn't really say much though.

PS C:\Users\username> sass --trace C:\Users\username\css\styles.scss C:\Users\username\css\styles.css


Unexpected exception:
Stack Overflow


AppData\Roaming\npm\node_modules\sass\sass.dart.js 72960:16  _EvaluateVisitor._addExceptionSpan$1$3$addStackFrame
AppData\Roaming\npm\node_modules\sass\sass.dart.js 72971:19  _EvaluateVisitor._addExceptionSpan$2
AppData\Roaming\npm\node_modules\sass\sass.dart.js 71776:20  _EvaluateVisitor.visitBinaryOperationExpression$1
AppData\Roaming\npm\node_modules\sass\sass.dart.js 42390:22  BinaryOperationExpression.accept$1$1
AppData\Roaming\npm\node_modules\sass\sass.dart.js 42393:19  BinaryOperationExpression.accept$1
AppData\Roaming\npm\node_modules\sass\sass.dart.js 71528:38  _EvaluateVisitor.visitReturnRule$1
AppData\Roaming\npm\node_modules\sass\sass.dart.js 43482:22  ReturnRule.accept$1$1
AppData\Roaming\npm\node_modules\sass\sass.dart.js 43485:19  ReturnRule.accept$1
AppData\Roaming\npm\node_modules\sass\sass.dart.js 73800:20  _EvaluateVisitor_visitIfRule___closure.call$1
AppData\Roaming\npm\node_modules\sass\sass.dart.js 72707:25  _EvaluateVisitor._handleReturn$1$2

from typed.css.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.