diff --git a/bower.json b/bower.json index 369dcdc81b5..754dafbc8e1 100644 --- a/bower.json +++ b/bower.json @@ -17,7 +17,7 @@ "screenfull": "^3.0.0", "node-uuid": "^1.4.7", "comma-separated-values": "^3.6.4", - "FileSaver.js": "^0.0.2", + "file-saver": "^1.3.3", "zepto": "^1.1.6", "eventemitter3": "^1.2.0", "lodash": "3.10.1", @@ -25,4 +25,4 @@ "html2canvas": "^0.4.1", "moment-timezone": "^0.5.13" } -} +} \ No newline at end of file diff --git a/example/notebook/bundle.js b/example/notebook/bundle.js index d9a7e475bd2..11ef67a2b68 100644 --- a/example/notebook/bundle.js +++ b/example/notebook/bundle.js @@ -139,7 +139,11 @@ define([ "key": "mctEntryDnd", "implementation": MCTEntryDnd, "depends": [ - "$rootScope","$compile","dndService","typeService" + "$rootScope", + "$compile", + "dndService", + "typeService", + "notificationService" ] } ], @@ -166,7 +170,22 @@ define([ "dndService", "$rootScope", ] - }, + }, + + { + "key": "remove-embed", + "implementation": removeEmbedAction, + "name": "Remove...", + "cssClass": "icon-trash labeled", + "description": "Remove this embed", + "category": [ + "embed", + "embed-no-snap" + ], + "depends":[ + "dialogService" + ] + }, { "key": "remove-snapshot", "implementation": removeSnapshotAction, @@ -189,20 +208,6 @@ define([ "$compile" ] }, - { - "key": "remove-embed", - "implementation": removeEmbedAction, - "name": "Remove...", - "cssClass": "icon-trash labeled", - "description": "Remove this embed", - "category": [ - "embed", - "embed-no-snap" - ], - "depends":[ - "dialogService" - ] - }, { "key": "notebook-new-entry", "implementation": newEntryAction, diff --git a/example/notebook/res/templates/controls/embedControl.html b/example/notebook/res/templates/controls/embedControl.html index ec5e7524173..560cac16093 100644 --- a/example/notebook/res/templates/controls/embedControl.html +++ b/example/notebook/res/templates/controls/embedControl.html @@ -31,7 +31,7 @@