Giter Club home page Giter Club logo

f's Introduction

ƒ

A JavaScript Component Framework

Helps you build large, modular apps.

With nested components, view showing and rendering, easy REST integration, and dead simple inheritance.

Doesn't reinvent the wheel.

Using Backbone, Handlebars, Underscore, and jQuery, ƒ provides a simple way to modularize large applications.

Stays (pseudo) classy.

F uses PseudoClass, an OOP framework that lets you create building blocks that you can extend, mixin, and re-use.

Sound interesting?

Building F

  1. Clone the repository
git clone https://github.com/lazd/F.git
  1. Install dependencies
cd F/
npm install
  1. Build F with grunt
grunt
  1. Build output will be sent to build/

Contributing

Pull requests are welcome!

License

ƒ is licensed under the permissive BSD license.

f's People

Contributors

lazd 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

Watchers

 avatar  avatar  avatar  avatar  avatar

f's Issues

F.FormComponent should support default values for checkboxes

Steps

  1. Use F.FormComponent and a form that includes a checkbox.
var Component = new Class({
  extend: F.FormComponent,
  model: Backbone.Model.extend({}),
  template: Handlebars.compile('<input type="checkbox" name="someAttr" value="cowValue"><button>Submit</button>')
});
  1. Load a model that has someAttr: cowValue.
  2. Load the form, uncheck the checkbox, hit save.

Result

someAttr remains as cowValue.

Expected

someAttr should be unset? Set to a different value?

Analysis

When the checkbox is checked, the attribute someAttr is correctly updated with the property: value, when the checkbox is not checked, the property someAttr is untouched

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.