Giter Site home page Giter Site logo

Comments (8)

IngwiePhoenix avatar IngwiePhoenix commented on May 12, 2024

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.

kenwheeler avatar kenwheeler commented on May 12, 2024

I believe it's an issue related to getAttributes availability on window and document, working out a fix as we speak

from cash.

IngwiePhoenix avatar IngwiePhoenix commented on May 12, 2024

from cash.

simeydotme avatar simeydotme commented on May 12, 2024

I think this might be working, now?

from cash.

shshaw avatar shshaw commented on May 12, 2024

This should be working with 1.3.0. Let us know if you find any other incompatibilities. Thanks!

from cash.

noBlubb avatar noBlubb commented on May 12, 2024

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.

shshaw avatar shshaw commented on May 12, 2024

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.

iantearle avatar iantearle commented on May 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.