Comments (5)
It seems to be different behavior on different navigator (IE, firefox). Something to do with the slate.js script which use those attributes. I may miss something
from slate.
On Firefox, here is what I have when I am not providing an img to google music
-
name: "google music"
url: "https://play.google.com/music/listen"
bg_color: "#ffffff"
txt_color: "#ff5722"
tags: ["music"]
Is there a problem with my version of Firefox or with the slate.js
file ?
from slate.
From the look of that screenshot, it looks like the first div is being appended successfully and the second/third divs are not. You can see this part of the code uses the append function.
@cderv can you verify the version of firefox you are using? Also, are there any error messages printed to your console when you refresh?
from slate.
I use Firefox 45.8.0. Could it come from this version ?
I find that you use a URL
function that is experimental
Developper tool on firefox (F12) says that
- JS
- HTML Encoding is not declared and should be
- CSS
- some properties are unknown
- -moz-osx-font-smoothing
- user-select
- background-position-x
- background-position-y
- background-repeat-x
- background-repeat-y
- some properties are unknown
- Journal
- it display an error
err:TypeError: s.append is not a function
- it display an error
I think this error is related to the append
you mentionned. In the docs folder js/slate.js
contain these lines with an s.append
instead of domainDiv.append
(see demo code for slate
What do you think is the problem ?
from slate.
Yup, its the append
function. append
only works on firefox v49+. I have modified the code to not use append
and make it more backwards compatible. A function that requires browsers from late 2016 might be a little too new.
As for the URL function, even though it is experimental. It has been included in browsers since 2013, making it stable enough for me to use.
Thanks for the finding the bug.
from slate.
Related Issues (14)
- Text mode used name not url HOT 4
- Suggest to increase search function
- Responsive mobile friendly feature HOT 1
- background-size options
- Create tiles that do not appear in the category "all"
- Use slate within another theme
- Abandonware
- Another issue with bg_color
- Text is cut off for certain letters in title of each tile HOT 1
- how do you update the font awesome? HOT 1
- editing with a cms
- any help
- Linking a section shows "All" instead of the elements in the section
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slate.