Notice: The devs are no longer actively involved in the forum, so any bug reports regarding the Stylish extension or this website should be sent to them directly at contact@userstyles.org.
Changing your Avatar.
The only way to currently change a forum avatar is through Gravatar.com. The email address used for your Userstyles.org account must be one of the email addresses that is registered to your Gravatar account.

Style code has an error - parse error on value "$" ($end) on line

Hello,

I'm trying to submit a modified Style of "Jira Doodle Dark" by Chris Tieman:
https://userstyles.org/styles/141579/jira-doodle-dark

But Im getting an error at the last lines.
It happens when no matter how many closing "}" I put or remove. Even when I delete some lines.
I looks at Chris's original code and I dont seem to be doing anything different really.
If anyone can take a look at my code and let me know whats wrong, I'd love the help!
See code here: https://pastebin.com/e9VhADJE

Thanks!

Comments

  • edited December 2017 Firefox

    Quick hint from my linter: Add five } at the very end. Don't know if it works and where it comes from as I didn't look through all the code (2000 lines was a bit too much...)
    }}}}}

    edit

    Looks like some error with the @-moz-document rules. You defined the same rule five times. Once around the whole thing is enough.

  • edited December 2017 Chrome
    Hi Stonecrusher!!
    That was the trick!! You got it!! :D
    I'm not 100% sure why the original code is made like that, but I didn't experiment too much in arguing with it :P
    I had to actually add 6 "}" at the end to make it work - but it submitted!!

    Thank you so much for the hint!!
    - SuperDooM

    See it here: https://userstyles.org/styles/153307/jira-doodle-dark-v2-0
Sign In or Register to comment.