GithubHelp home page GithubHelp logo

Comments (3)

thomasdavis avatar thomasdavis commented on May 14, 2024

I can't view the whole tutorial and @andrew8088 might have a better answer for your question as I am little confused by it.

jQuery has made itself AMD compatible in the latest commits.

from backbonetutorials.

andrew8088 avatar andrew8088 commented on May 14, 2024

Here's what I said in the tutorial:

In her talk “Modern JavaScript” at JSConf 2011, Rebecca Murphey said that she would
love a JavaScript world where you could pick and choose where you get your functionality:
you could get your DOM manipulation from jQuery, your array utilities from YUI, your UI
widgets from Dojo, etc. Trying this today would be a nightmare. But, guess what? AMD solves this.

Now, I'm just realizing that when I said "AMD solves this," I made it sound like the problem was already solved. What I meant to say, however, was that if the library makers would use the AMD pattern for their libraries, and make each part of their libraries a separate module, then we'd be able to, as you say, pick DOM stuff from jQuery, array utils from YUI, etc. Right now, that isn't really possible, although I understand Dojo is using AMD now. And it's great to hear that jQuery is now AMD compatible!

TL;DR: It's not possible right now. I hope it will be in the future.

Hope that helps!

from backbonetutorials.

neocris avatar neocris commented on May 14, 2024

It shure did. Thanks Andrew and Thomas

from backbonetutorials.

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.