Comments (8)
likely.initiate(article.querySelector('.likely'))
Actually, this doesn't make sense. likely.initiate
initiates all buttons on the page, and accepts options, not a link to node.
Instead of, seems likely(article.querySelector('.likely'))
is the proper way, assuming article.querySelector('.likely')
returns single node inside a new article, exactly the node where likely should be initialized.
However, the code likely.initiate()
actually finds all new widgets, and updates an old ones. So apparently there's a problem with updating existing widget.
I'll try to find the latter out, and Tinkoff's guys can change likely.initiate
to just likely(node)
, `cause it's the right way anyway.
from likely.
I’ve asked folks to replace likely.initate(node)
with likely.initiate()
, this didn’t help. So yep, looks like an issue in our code.
I'll try to find the latter out, and Tinkoff's guys can change
likely.initiate
to justlikely(node)
, `cause it's the right way anyway.
Good option, will suggest. Thank you!
from likely.
likely.initate(node) with likely.initiate()
yep, as this didn't change anything we have a bug with updating existing widgets
from likely.
Reproduced the following case:
- load the test page
- perform
likely.initiate()
in console - counters vanished
I think this should be separated into its issue
from likely.
from likely.
@iamakulov as #83 will be fixed, I believe fellows can perform likely.initiate, as they already do: the new widgets should be initialized and the old ones be not broken.
from likely.
Wow, the reproduced case seems to be related to #75, I’ve seen something similar there. Probably it’s even a single bug.
from likely.
Closed in #84.
from likely.
Related Issues (20)
- Fix erratic test
- Vertical margins slightly differ HOT 6
- Improve interpretation of attributes HOT 3
- Version 2.5 epic HOT 7
- Fix Travis CI build
- Proofread and clean up the readme HOT 3
- Uncaught TypeError: o.promises[t] is not a function HOT 12
- Plans for 2.6 HOT 3
- Update colors and icons
- twitter data-title issue HOT 3
- Version 3.1 epic HOT 3
- 2.5.0 bug "Uncaught TypeError: Cannot read property 'trigger' of undefined" HOT 5
- кнопка постила с postila.ru HOT 2
- Text duplication on twitter share HOT 2
- Facebook: (#2) Service temporarily unavailable HOT 1
- Problem with whatsapp HOT 3
- data-url param adds dup url HOT 2
- share button works only one time in share modal HOT 2
- Homepage: Update Likely to 3.0 HOT 2
- Use flexbox with gap instead of margins HOT 3
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 likely.