Move away from using a common modal service, since the block options and the toolbox modals are going to end up behaving fairly differently.

This commit is contained in:
Sean Lip
2016-11-16 16:47:26 -08:00
parent dd95203cdc
commit a027ec8573
7 changed files with 30 additions and 39 deletions

View File

@@ -79,17 +79,15 @@ blocklyApp.WorkspaceTreeComponent = ng.core.Component({
.Class({
constructor: [
blocklyApp.ClipboardService, blocklyApp.NotificationsService,
blocklyApp.TreeService, blocklyApp.UtilsService,
blocklyApp.AudioService, blocklyApp.ModalService,
blocklyApp.TreeService, blocklyApp.UtilsService, blocklyApp.AudioService,
function(
_clipboardService, _notificationsService, _treeService,
_utilsService, _audioService, _modalService) {
_utilsService, _audioService) {
this.clipboardService = _clipboardService;
this.notificationsService = _notificationsService;
this.treeService = _treeService;
this.utilsService = _utilsService;
this.audioService = _audioService;
this.modalService = _modalService;
}],
ngOnInit: function() {
var SUPPORTED_FIELDS = [