Further cleanup and removal of unnecessary functions. Pull some strings out for i18n.

This commit is contained in:
Sean Lip
2017-01-18 17:45:15 -08:00
parent d2bfd134b6
commit 59b074d19f
7 changed files with 27 additions and 64 deletions

View File

@@ -66,11 +66,8 @@ blocklyApp.FieldSegmentComponent = ng.core.Component({
})
.Class({
constructor: [
blocklyApp.NotificationsService, blocklyApp.UtilsService,
function(_notificationsService, _utilsService) {
this.notificationsService = _notificationsService;
this.utilsService = _utilsService;
blocklyApp.NotificationsService, function(notificationsService) {
this.notificationsService = notificationsService;
this.dropdownOptions = [];
}],
ngOnInit: function() {