HTD / NST

New Source Tree Komodo Addon
32 stars 20 forks source link

JavaScript: Support named functions as properties in object literals #31

Open benfrancis opened 11 years ago

benfrancis commented 11 years ago

This works:

var MyObject = {
  myFunction: function() {
  }
}

This doesn't work:

var MyObject = {
  myFunction: function myObjectFunction() {
  }
}

Unfortunately this makes NST not work for my entire project :(