Giter Site home page Giter Site logo

smallquery's Introduction

moggers87

README

Hey it's me.

I write code for living. Send me money or consider hiring me if you like my work.

Latest releases

smallquery's People

Contributors

moggers87 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

smallquery's Issues

Check setData for "prototype pollution"-type bugs

The setData function doesn't do any checking of the key we set. If this is user provided it could have some unexpected consequences.

  1. Check that this function can actually be abused in this way
  2. Fix it (by disallowing __proto__ as a key) if required
  3. Look elsewhere in smallQuery to see if similar problems

function setData(el, key, value) {

Ajax?

First, I need to work out what is the "correct" way to use that API in jQuery (some ways of using it are deprecated I think?).

Second, will it be too much work to implement?

Tests

We need some basic tests

not function

Remove matching element from the current set of elements. Especially useful as we don't have the :not() selector (it's not supported by browsers)

Travis

Get both Firefox and Chrome tested on Travis.

I have other projects that test via Firefox on Travis, but never got Chrome working. It's not really an option to ignore Chrome here as we're not relying on jQuery ☺

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.