Skip to content

Instantly share code, notes, and snippets.

@sdesai
Created June 6, 2012 01:40
Show Gist options
  • Save sdesai/2879339 to your computer and use it in GitHub Desktop.
Save sdesai/2879339 to your computer and use it in GitHub Desktop.
20 Attribute sets
suite.add('MyBase with 20 varied attributes, all firing events', function () {
var b = new MyBase20();
b.set("attr1", "Bar");
b.set("attr2", "Foo");
b.set("attr3", "Foo");
b.set("attr4", "Foo");
b.set("attr5", "Foo");
b.set("attr6", "Foo");
b.set("attr7", "Foo");
b.set("attr8", "Foo");
b.set("attr9", "Foo");
b.set("attr10", "Foo");
b.set("attr11", "Foo");
b.set("attr12", "Foo");
b.set("attr13", "Foo");
b.set("attr14", "Foo");
b.set("attr15", "Foo");
b.set("attr16", "Foo");
b.set("attr17", "Foo");
b.set("attr18", "Foo");
b.set("attr19", "Foo");
b.set("attr20", "Foo");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment