cop.create("DevLayer").refineClass(WorldMorph, {
morphMenuItems: function() {
var items = cop.proceed();
// inspect(items)
var prefMenu = items.detect(function(ea) {
return ea[0] == "Preferences"
})
if (prefMenu)
prefMenu[1].push(["style" , function() {
$world.openStyleEditorFor($world)
}])
return items
}
})
DevLayer.beGlobal()