GithubHelp home page GithubHelp logo

stefangabos / zebrajs Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 4.0 1.94 MB

A modular, jQuery compatible, ultra light-weight JavaScript micro-library for modern browsers

Home Page: https://stefangabos.github.io/zebrajs/download/

License: Other

JavaScript 100.00%
dom javascript javascript-micro-library selector-engine

zebrajs's Introduction

Hi there ๐Ÿ‘‹

I am Stefan Gabos, a web developer working from Bucharest, Romania. I'm half Hungarian, stubborn, articulate, and slightly afraid of women.

I started coding when I was around 14 (that's way back in 1994), and I am extremely passionate about it. I started coding in BASIC and then went on with Assembler and Turbo Pascal. In 1997 I started developing commercial applications using Microsoft Access. Since 2001 I'm developing exclusively for the web using PHP, MySQL, HTML, CSS and JavaScript.

I am an incurable workaholic and a perfectionist. I work with PHP, MySQL, HTML and CSS and JavaScript and have been using these things since back when GeoCities was the most visited website on the Internet and the <blink> tag was cool. I am among the 6 people in the world who were never afraid of Internet Explorer 6.

I develop rock-solid PHP libraries and super-lightweight, highly optimized, bad-ass jQuery plugins and open-source them because I am a web developer even when I'm not at work.

When working, I listen to massive amounts of music โ€“ alternative rock, in general. When I am not working (it sometimes happens), I enjoy playing the guitar, sleeping, cooking, watching Formula One or a good movie.

zebrajs's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zebrajs's Issues

ajax POST wrong address

Hi,
Thanks for sharing this beautiful and light library!
I'm triyng to send a POST request with ajax, but it seems something goes wrong.

function send(){
var address = 'http://ip/path/thepage.php?a=b';
$.ajax({
    url: address,
     method: 'POST',
     data: {
         a:b,
         bar: 'bax'
     }
 });

looking at console:

zebra.js:1 POST http://ip/path/[object%20Object] net::ERR_EMPTY_RESPONSE

the page has been replaced by this [object%20Object], or am I missing something?
Thanks, BR

$.fn.data uses private prop zjs and not domelement.dataset

<div id="Hello" data-name="World"></div>

  $("#Hello").data("name") == undefined

should be

  $("#Hello").data("name") == "World"

however, this works, 

  $("#Hello")[0].dataset["name"] == "World"

ps. zebrajs is one of the best post-jquery frameworks

Customised build error

Hi - love zebra, just what I'm looking for!

There is a bug in the selector regex in the customised build version only:
if (selector.match(/^\#[^\s]+$/)) elements.push(parent.getElementById(selector.substr(1)));

in the customiser, this gets generated as:
t.match(/^#[^s]+$/))

the s needs escaping:
t.match(/^#[^\s]+$/))

Interestingly, the full minified version doesn't have this bug!

Thanks, keep up the good work.

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.