Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
fix demo page
  • Loading branch information
bengtweisse committed Nov 16, 2015
1 parent d6ef3a6 commit e8cf28a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand All @@ -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",
Expand Down
24 changes: 14 additions & 10 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
]);

</script>

<body ng-app="quillTest" ng-controller="AppCtrl">
<body ng-app="quillTest" ng-strict-di ng-controller="AppCtrl">
<button ng-click="toggle()">Toggle toolbar</button>
<div style="width: 500px; height: 300px;">
<ng-quill-editor ng-model="message" translations="translations" toolbar="true" show-toolbar="showToolbar" link-tooltip="true" image-tooltip="true" toolbar-entries="font size bold list bullet italic underline strike align color background link image" editor-required="true" required="" error-class="input-error"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-quill",
"version": "1.1.0",
"version": "1.1.1",
"description": "Angular directive for rich text editor Quill",
"author": "Bengt Weiße <[email protected]>",
"homepage": "https://github.com/KillerCodeMonkey/ngQuill",
Expand All @@ -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": {
Expand Down

0 comments on commit e8cf28a

Please sign in to comment.