code: function(){
        $('#priority_buttons').html('');
        var _i, pb, all_pbs = [ ];
        for (_i = 3; _i > 0; _i --){
          pb = new todo.priority_button(_i);
          $('#priority_buttons').append(pb.button);
          all_pbs.push(pb);
          if (_i == 3){
            pb.select(); // Select lower priority by default
          }
        }
        todo.all_pbs = all_pbs;
      }
docs: /*
  setup_priority_buttons
  
  Called by todo.get_items. Sets up the three traffic-light buttons used to select a priority level when creating a new item.