mikegordo / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

A setExpression method on Collections would be useful #295

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I think get and set methods for expressions of collections would be very
useful.
Something like this would suite me:

Exhibit.Collection.prototype.getExpression = function() {
    return this._expression;
}

Exhibit.Collection.prototype.setExpression = function(expr) {
    this._expression = Exhibit.ExpressionParser.parse(expr);
    this._update();
}

Original issue reported on code.google.com by m.d.na...@hetnet.nl on 30 Jun 2009 at 6:05

GoogleCodeExporter commented 9 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 9:46