GithubHelp home page GithubHelp logo

marak / data-behaviors Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 0.0 1.21 MB

open-source uber unobtrusive behavior (widget) library built with jQuery. uses HTML5's data-attributes, but still works in IE6

Home Page: http://maraksquires.com/behave/

C# 0.60% JavaScript 99.40%

data-behaviors's People

Contributors

marak avatar tomjenkins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

data-behaviors's Issues

more unified sample data for behaviors

right now we are using a mix of sample data copy pasted from multiple examples. it would be nice to have a unified sample data set that contains funny / engaging information.

less or scss support

we shouldn't force the developers to use raw CSS sheets. we should add the option to code CSS in less or scss and then compile to CSS at compile time.

i do NOT want to see any CSS templating engines working in the browser itself. the browser should only be sent regular CSS. we might explore a JSON style sheets solution to represent our internal sheets, but this would be transparent to the developer.

better error reporting / error messages

The current error reporting is somewhat lacking...

we need to capture ALL errors gracefully and attempt to give an accurate description of what happened.

there are TWO types of errors that could occur in o-behave
compile time errors
run-time errors

compile-time errors should be caught by Ted and outputted in the console

run-time errors should be caught by the browser and logged to the console / written to the DOM (when appropriate). there is a bit of eval() magic happening here, so we'll need to address that first in order to better track error messages.

Ted.js - better file watching

Ted's current directory watcher is not ideal. We are using nodes sync filewatcher api on several nested files and directories in a loop. We are also unwatching these same items with the sync filewatcher.

There is a bit of an OS race condition here with MacOS's filesystem and the file watcher which is currently being solved with a forced delay. I think if we switch to the macs native FSEvents (http://en.wikipedia.org/wiki/FSEvents) we'll get much better performance and response time from Ted.

single quotes in HAML templates

there is an escaping issue with single quotes / double quotes when developing in the HAML templates.

we should be able to trap and escape special chars in the compile process, so the developer doesn't have to deal escaping themselves

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.