Giter Site home page Giter Site logo

jquery-zencoding's Issues

hi

Is this project Dead. This seems like an awesome idea. Jquery doesn't have as good way as Emmet to create html. Work should be done on this.

Doing this looks awesome .. $('body').append($.zc("h1{text}+.cont>ul>li{item$}*5"); This is 20 lines of code right there. Which could have been cluttering javascript. Sometimes you can't create templates in html and hide them.

Explain the use of parenthesis

I could be mistaken, but I do not find it anywhere. I'll probably figure it out soon enough but you might want to include this somewhere in your documentation/wiki.

Cheers

Please consider the MIT License

jQuery-ZenCoding is a great combination of two excellent libraries.

Zen-Coding recently changed their license from GPLv3 to the MIT-license:
http://twitter.com/zen_coding/status/16222899478

This change frees jQuery-ZenCoding to be re-licensed under the MIT license. A change to the MIT would make jQuery-ZenCoding compatible with an even wider range of jQuery-based projects.

Thanks in advance for considering this suggestion.

Remove jQuery dependency

First off, this is a great idea and implementation, a nice alternative to the traditional JS templating solutions.

What do you think about abstracting this plugin to be library agnostic? It seems to just use jquery as a namespace and use some of its utility functions.

Should follow the spec for accepting @id attributes.

The HTML 4.01 spec allows colons (:) and periods (.) as ID attributes. This is perfectly valid:
<div id="file.css"></div>

I'd love to see zencoding updated to allow the range of characters provided by the spec. For reference, jQuery supports periods in their sizzle selector engine be escaping them with backslashes.
$("#some\\.id") -> id="some.id"

The regex the sizzle engine uses for IDs is /#((?:[-\w]|[^\x00-\xa0]|\\.)+)/ (see source)

Of course, the HTML5 spec allows any character to be used, which would be an even bigger undertaking.

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.