Code Monkey home page Code Monkey logo

sprint's People

Contributors

bdc-stripe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sprint's Issues

How to implement with jQuery?

Maybe I'm asking a dumb question, I see that this is an "alternative" not a replacement, but I can't find any proper info on how to deal with jQuery and Sprint together on the same page.
So basically, how can I use Sprint along with jQuery?
I have some plugins with jQuery dependancy, how should I proceed to implement Sprint?
Since the same API is used will there be conflicts if both scripts are present?

JS Perf Links Aren't Runnable

This looks like a sweet library with great potential and I'm excited to follow its development. Thought it was worth mentioning, though, that when I try to run any JSPerf tests linked to from the docs (example) JSPerf errors out with:

ReferenceError: Sprint is not defined.

ReferenceError: Zepto is not defined.

So only JQuery works. I assume it is something wrong with the setup import code:

<script src="https://sprintjs.com/prod"></script>
<script src="https://zeptojs.com/zepto.min.js"></script>

Keep up the good work!

Selector support for .on()

I'd like to start a discussion as to whether it could be feasible to add support for passing a selector to .on(), to facilitate event binding to dynamically created DOM elements.

Modularize?

Maybe it should be split up into tiny modules so a user can require whatever she wants and bundle the modules using a build tool, to keep it even more tiny.

Make available on CDNJS?

This is a very useful plugin, but doesn't have a CDNJS location to link to. Even though it is very small, it would be nice if it was available via CDNJS for the various performance benefits it provides.

SemVer?

Any plans to adopt SemVer in this project?

Bower support

Could this get added to Bower for those of us that like to use package managers?

MAINTAINED FORK OF SPRINT! ๐Ÿ’ก

Edit: I've set up a fork and will maintain it a.k.a. actually accepting PRs. https://github.com/philplckthun/sprint

I want to keep this short: sprint is a nice experiment to push the limits of DOM manipulation through lighter methods and new browser JavaScript APIs. It's great to have seen this project progress and 3842 stars just can't lie as well.

But contribution to this project will decline (like right now) and eventually stop, when no progress is happening. Like no issues are resolved, no pull requests are merged etc.

If you haven't got the time to maintain this project anymore, @bendc, please consider to add more maintainers.

sad cat

Oh no, another?

What pitfalls from zepto have been prevented on this library?

amd or commonJs export

export throught global variable is old epoch.
could you provide an amd and commonJs export?

couple gotchas with css

Cool library. ๐Ÿ‘

Just skimming the css() function and noticed a couple pitfalls that you may want to mention in the docs.

  • there is no vendor prefixing on css()
  • case is not normalized; so element.css('backgroundColor') !== element.css('background-color')
  • this also means css('zIndex', 0) is treated as pixels, css('z-index', 0) is treated as a number
  • does not handle cssFloat edge case

All jspref benchmarks fail to run with https

Since your sprintjs.com has no SSL support (it seems), the protocol-relative url //sprintjs.com/prod will just fail on https://jsperf.com/, which is the default if you have HTTPS Everywhere for Chrome. Like this:

image

This is not an issue with sprint per se, but you may want to revise the jspref snippets to eliminate any confusion.

Anyway, great library! ๐Ÿ‘

No selector support for .on/.off?

For dynamically loaded/drawn content, it's required to write code like:

$(document).off('event', 'selector').on('event', 'selector', function (event) { 
 ... 
})

no?

How else could Sprint currently be used?

Npm support

Will this library be packaged for npm anytime soon?

alert not showing

Nice library indeed!
Just noticed this issue, the code below is not showing the alert as its should show the alert from the function of the click event of the button.

$(document).ready(function() {
      $( 'body' ).append( "<input type='button' id='alertdiv' value='Text of Alert Button' style='cursor:pointer' />" );
      $('#alertdiv').click(function() {alert("Hello, world!");});
});

compatible with Backbone.js

There's some error thrown when use with Backbone.js, due to lost some function Backbone will invoked.

Could make it compatible with Backbone.js?

Bug with .css()

If into method .css() send property, which contains the number with a point, this property will be empty. For example: .css('top', 1271.484375).

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.