From e8cf28a888718601e508e19524c2ed5813e30a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bengt=20Wei=C3=9Fe?= Date: Mon, 16 Nov 2015 10:40:27 +0100 Subject: [PATCH] update dependencies fix demo page --- bower.json | 6 +++--- demo.html | 24 ++++++++++++++---------- package.json | 6 +++--- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/bower.json b/bower.json index e73f9f1..cfe62a8 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "ngQuill", - "version": "1.1.0", + "version": "1.1.1", "main": ["src/ng-quill.min.js"], "description": "AngularJS directive for the QuillJS rich text editor", "authors": [ @@ -15,8 +15,8 @@ "Gruntfile.js" ], "dependencies": { - "quill": "~0.20.0", - "angular": "~1.4.3" + "quill": "0.20.1", + "angular": "1.4.7" }, "keywords": [ "quill", diff --git a/demo.html b/demo.html index 1c4d7dc..0a027db 100644 --- a/demo.html +++ b/demo.html @@ -64,22 +64,26 @@ alias: 'Verdana' }]) }]); - myAppModule.controller('AppCtrl',['$scope', 'ngQuillConfig', function($scope, ngQuillConfig) { + myAppModule.controller('AppCtrl', [ + '$scope', + 'ngQuillConfig', + function($scope, ngQuillConfig) { - $scope.showToolbar = true; + $scope.showToolbar = true; - $scope.translations = angular.extend({}, ngQuillConfig.translations, { - 10: 'smallest' - }); + $scope.translations = angular.extend({}, ngQuillConfig.translations, { + 10: 'smallest' + }); - $scope.toggle = function() { - $scope.showToolbar = !$rootScope.showToolbar; - }; - }]); + $scope.toggle = function() { + $scope.showToolbar = !$scope.showToolbar; + }; + } + ]); - +
", "homepage": "https://github.com/KillerCodeMonkey/ngQuill", @@ -13,8 +13,8 @@ "node": ">=0.10" }, "dependencies": { - "quill": "~0.20.0", - "angular": "~1.4.3" + "quill": "0.20.1", + "angular": "1.4.7" }, "license": "MIT", "repository": {