NST icon indicating copy to clipboard operation
NST copied to clipboard

JavaScript: Support named functions as properties in object literals

Open benfrancis opened this issue 12 years ago • 0 comments

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 :(

benfrancis avatar Jun 26 '13 14:06 benfrancis