GithubHelp home page GithubHelp logo

nvdnkpr / instantclick Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dieulot/instantclick

0.0 2.0 0.0 1.2 MB

InstantClick makes following links in your website instant.

Home Page: instantclick.io

License: MIT License

instantclick's Introduction

InstantClick

For information about what InstantClick is, how it works, etc., go to InstantClick’s website.

Contributing

Pull Requests

If you have a feature in mind that you think would be a great fit for InstantClick, I recommend first to open an issue to debate whether it’s worthy of inclusion in the first place. Assume no feature/optimization is wanted. This way you won’t risk doing work for nothing, and I won’t feel bad for throwing away your work.

Look around the code to spot code convention (two spaces for tabs, no semicolons at the end of lines, etc.). I’ll need those to be respected to accept a pull request.

In the (hopefully near) future I’ll open issues to say where I think InstantClick needs work on.

Tests

Tests (in the tests folder) are HTML pages with which to check how InstantClick behaves on different browsers. That’s what I use before releasing a new version to make sure there is no obvious regressions.

Here are the tests that I do:

  • Click on “Index page”, see if it works correctly.
  • Click on “Index page” with 2000 ms of delay, see if it works correctly.
  • Click on “Page with anchors #1”, click on “Page 2, anchor 1”, click on “Page 1, anchor 2”, go back and forward randomly. (At the time of this writing, 2014/03/19, scrolling is broken.)
  • In Internet Explorer 6, check that InstantClick’s “change” event is called, as it needs to fire even if InstantClick is unsupported.

To start the tests website, with PHP 5.4 run php -S 127.0.0.1:8000, and head to http://127.0.0.1:8000/tests/. (Be sure to start php in tests’s parent directory, not in tests itself.)

Or just put the instantclick folder in your www directory, and head to http://127.0.0.1/instantclick/tests/.

These tests are oriented towards InstantClick’s behaviors in browser. For most bug fixes, you won’t need to go through them.

If you need or want to go through them, be warned, they’re kind of a mess right now.

instantclick's People

Watchers

 avatar  avatar

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.