nxtchg / pieces Goto Github PK
View Code? Open in Web Editor NEWSimple, stand-alone, reusable components.
License: The Unlicense
Simple, stand-alone, reusable components.
License: The Unlicense
This error message keeps coming up at line 38 of vs-notify.js:
Uncaught ReferenceError: Vue is not defined
How can I fix it?
Would you mind adding this to NPM?
The CSS parser ignores empty rules and doesn't compile them, and that's great, in my opinion.
However, empty at-rules are being compiled and aren't being ignored.
For example, the following CSS code:
@media (max-width: 1024px) {
}
is being unnecessarily compiled to: @media (max-width: 1024px){}
Besides, the following CSS code:
@media (max-width: 1024px) {
div {
}
}
is being unnecessarily compiled to: @media (max-width: 1024px){}
, too.
The following CSS code:
@document url("https://www.example.com/") {
h1 {
color: green;
}
}
is causing this parsing error: TypeError: m[1] is undefined
The following CSS code:
@supports (display: grid) {
main {
display: grid;
}
}
is being compiled to:
@supports undefined{main{display:grid;}}
Hi - thanks for this Vue component.
It's working well on my site to show alerts, but there seems to be a small issue with CSS as shown in the attached image.
Specifically, there's a subtle blocked area appearing where the alert is set to show up when activated. This area moves around when positioning the alert to appear at the top left, bottom right, etc.
Any ideas how to get rid of it?
My code:
<vs-notify group="alert" position="bottom right" :duration="6000"></vs-notify>
this.$notify("alert", response.body.ErrorMessage, "error");
I've not tried to adjust styling on the notify element at all.
-Ken
The following syntax errors are not being reported:
Unclosed block (when the next rule's selectors contain colons):
body {
color: #000;
p:first-child {
color: #111;
}
Unclosed bracket:
a[href {
color: #111;
}
Unclosed parenthesis:
li:nth-child(even {
color: #111;
}
p::before {
content: attr(data-test;
}
p {
background: url(images/bg.jpg;
}
div {
width: calc(10% + 20px;
}
@import url(main.css;
Unclosed string:
p::before {
content: "test;
}
p {
background: url("images/bg.jpg);
}
p {
font-family: "Test;
}
a[href="index.php] {
color: #111;
}
@import "main.css;
Unclosed comment:
/* Lorem ipsum *
Double colon:
p {
color:: #111;
}
Selector format error:
p; {
color:: #111;
}
@font-face at-rule missing name:
@ {
font-style: normal;
font-weight: 400;
font-family: "Font Awesome";
src: url(fonts/fa-regular-400.woff2) format("woff2"),
url(fonts/fa-regular-400.woff) format("woff");
}
Both of the following CSS codes:
@import url(main.css);
@import url(main.css) (max-width: 1024px);
are being compiled to:
@import undefined;
The following CSS code:
@-moz-document url-prefix() {
h1 {
color: green;
}
}
is causing this compiling error: TypeError: this[n.type] is not a function
For example, the following valid at-rules are causing parsing error
@MEDIA (max-width: 1024px) {
div {
color: #000;
}
}
@IMPORT url(main.css);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.