Git Product home page Git Product logo

backbone-dropdown's Introduction

Hey, Iโ€™m Pete ๐Ÿ‘‹

Iโ€™m a developer/designer who has been building things on the internet for over 15 years. I mostly specialize in Ruby on Rails and JavaScript development, but have built many products from scratch, wearing many hats, including design and even a small spot of marketing.

  • ๐Ÿ’ต Iโ€™ve recently bootstrapped and sold my first startup, Payhere (Exited May โ€™21)
  • ๐Ÿ›  Side projects... Happi.team (a fresh take on async customer support) and Nine commerce (simple online stores anyone can set up).
  • ๐Ÿ‘จโ€๐Ÿ’ป Iโ€™m currently working at Polywork, an exciting startup building a new kind of professional social network.
  • ๐Ÿ’ฌ Ask me about all things product, engineering or bootstrapping!
  • ๐Ÿ“ซ You can reach me here.

backbone-dropdown's People

Contributors

phawk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

backbone-dropdown's Issues

model idAttribute does not work because "id" is hardcoded in DropdownListView.render

DropdownListView.render() fails if the model's id property is not called "id".
The following change fixes this by using the model's idAttribute instead of literal "id":

 render: function() {
     var html = this.collection.reduce(function(str, model) {
  •        return str + "<li data-id=\""+ model.get("id") +"\">"+ model.get(this.title_field) +"</li>";
    
  •       return str + "<li data-id=\""+ model.id +"\">"+ model.get(this.title_field) +"</li>";
     }, "", this);
    

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.