Giter VIP home page Giter VIP logo

Comments (6)

shawnbot avatar shawnbot commented on May 19, 2024

Sounds interesting. I'll look into it!

from aight.

koustuvsinha avatar koustuvsinha commented on May 19, 2024

I can help, if you can explain me how to include a third party lib in aight.js source :)

from aight.

shawnbot avatar shawnbot commented on May 19, 2024

Thanks! I would recommend working in the v2 branch, as that's where all of the new hotness lives. The basic steps are:

  1. Check out Respond.js as a git submodule in the lib directory
  2. Add the new respond.js path (e.g. lib/respond.js/respond.js) to the Makefile
  3. Make sure you have UglifyJS installed, e.g. npm install -g uglify-js.
  4. Run make clean all to rebuild the aight.js and aight.min.js files.
  5. Test away!

I'm considering improvements to the build process in #44 if you have any thoughts.

from aight.

koustuvsinha avatar koustuvsinha commented on May 19, 2024

I have added Respond.js and made the necessary changes. Now do I need to include tests? If so, how should I proceed?

from aight.

shawnbot avatar shawnbot commented on May 19, 2024

Happy new year, and thanks for this. Tests are weird for aight because most of them need to happen in IE8 and 9. I'm looking into automated Selenium tests, but it'll be a while before I get these set up. If Respond.js has its own tests, as both the ie8 and dom4 libraries do, then I'd say they're good enough for now. Could you file a PR to merge into v2, please?

from aight.

koustuvsinha avatar koustuvsinha commented on May 19, 2024

Happy new year to you too! Yes I am filing the PR now!

from aight.

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.