Skip to content

Commit

Permalink
Fix "this" issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Kornhall committed Mar 27, 2014
1 parent 36719b0 commit 7ed3e54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "gnd-dropdown",
"version": "0.1.6",
"version": "0.1.7",
"description": "A Gnd dropdown component",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/dropdown.ts
Expand Up @@ -71,7 +71,7 @@ class DropDown extends Gnd.View {
var selectOptions = this.selectOptions =
new Gnd.Collection(SelectOption, {nosync: true});

selectOptions.link(collection, function(evt, item: Gnd.Model, fields?){
selectOptions.link(collection, (evt, item: Gnd.Model, fields?)=>{
switch(evt){
case 'added:':
selectOptions.add(new SelectOption(
Expand Down

0 comments on commit 7ed3e54

Please sign in to comment.