Comments (8)
Full stacktrace:
Uncaught TypeError: this[0].getAttribute is not a function
fn.extend.attr @ b69098715d71615baa6c-main.js:816
fn.extend.data @ b69098715d71615baa6c-main.js:950
registerEvent @ b69098715d71615baa6c-main.js:1030
(anonymous function) @ b69098715d71615baa6c-main.js:1090
cash.each @ b69098715d71615baa6c-main.js:733
fn.extend.each @ b69098715d71615baa6c-main.js:885
fn.extend.on @ b69098715d71615baa6c-main.js:1070
(anonymous function) @ b69098715d71615baa6c-main.js:3920
(anonymous function) @ b69098715d71615baa6c-main.js:3922
(anonymous function) @ b69098715d71615baa6c-main.js:3924
__webpack_require__ @ bootstrap b69098715d71615baa6c:50
(anonymous function) @ b69098715d71615baa6c-main.js:81
(anonymous function) @ b69098715d71615baa6c-main.js:108
__webpack_require__ @ bootstrap b69098715d71615baa6c:50
(anonymous function) @ b69098715d71615baa6c-main.js:17
(anonymous function) @ b69098715d71615baa6c-main.js:68
__webpack_require__ @ bootstrap b69098715d71615baa6c:50
webpackJsonpCallback @ bootstrap b69098715d71615baa6c:21
(anonymous function) @ b69098715d71615baa6c-main.js:1
You can see the contents of the entire file here: https://gist.github.com/IngwiePhoenix/1d9d49bb5b5e00ea3ec1
from cash.
I believe it's an issue related to getAttributes availability on window and document, working out a fix as we speak
from cash.
from cash.
I think this might be working, now?
from cash.
This should be working with 1.3.0. Let us know if you find any other incompatibilities. Thanks!
from cash.
Hey,
I'm about to drop cash.js into bootstrap v4 alpha 2. Other than v3 this time they seem to use special jQuery event handlers (?) https://github.com/twbs/bootstrap/blob/v4-dev/js/src/util.js#L88
Any ideas? Maybe as a plugin?
from cash.
Hm, it looks like they're using some very jQuery specific features. jQuery has the $.event.special
object for mapping events that need special syntax or handling. #128 brought up where Cash may need something similar for handling focusin/out
events in FireFox, but we haven't specifically made plans for jQuery special event compatibility.
I'd suggest adding $.event = { special: {} }
after including jQuery but before including Bootstrap to see if that allows the transition end events to work in browsers you need to support. I'm sure there's some browser specific bug that the Bootstrap code is patching, but an event handler on transitionend
(or the prefixed version) should work as expected.
from cash.
How do you get around the "Bootstrap's JavaScript requires jQuery" warning? Or just a case of ignoring it? Does anyone know if cash if fully compatible with Bootstrap 3.3.7?
from cash.
Related Issues (20)
- Cash conflict with jQuery HOT 3
- Support undoing CSS transforms when measuring dimensions HOT 1
- Event properties should be settable HOT 2
- $.fn.trigger() - preventDeafult() flag HOT 2
- Collection doesn't pass unknown method calls to items HOT 6
- npm run dev HOT 3
- Append Options to Select Returns Empty Options HOT 1
- New dependency graph HOT 1
- Why use cash over browser API? HOT 2
- $.fn.text does not apply to multiple elements HOT 1
- Non-existent test command in contributing guidelines HOT 6
- Drop IE11 support HOT 3
- Setting attr "disabled" to true causes parse error HOT 1
- How to load an html string into Cash? HOT 3
- Problem set data attribute do DOM node HOT 1
- $.fn.hide|show do not restore the previous display value after calling hide twice HOT 3
- npm install $ not work HOT 1
- $.data(key, value) places too many double quotes HOT 1
- Should this be a `!==` ? HOT 3
- bug(build): huge number of errors in the console when launching a partial build HOT 1
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 cash.