Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayley Tom committed Mar 29, 2018
2 parents 94f5151 + 664c14a commit a67e179
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions dist/mdRainbow.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
clickOutsideToClose: '=?',
skipHide: '=?',
preserveScope: '=?',
multiple: '=?',

// Advanced options
mdColorClearButton: '=?',
Expand Down Expand Up @@ -609,6 +610,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
hasBackdrop: $scope.hasBackdrop,
skipHide: $scope.skipHide,
preserveScope: $scope.preserveScope,
multiple: $scope.multiple,

mdColorAlphaChannel: $scope.mdColorAlphaChannel,
mdColorSpectrum: $scope.mdColorSpectrum,
Expand Down Expand Up @@ -904,6 +906,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
options.focusOnOpen = options.focusOnOpen === undefined ? false : options.focusOnOpen;
options.preserveScope = options.preserveScope === undefined ? true : options.preserveScope;
options.skipHide = options.skipHide === undefined ? true : options.skipHide;
options.multiple = options.multiple === undefined ? true : options.multiple;

// mdRainbow Properties
options.mdColorAlphaChannel = options.mdColorAlphaChannel === undefined ? false : options.mdColorAlphaChannel;
Expand All @@ -921,6 +924,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
template: _mdRainbowDialog2.default,
hasBackdrop: options.hasBackdrop,
clickOutsideToClose: options.clickOutsideToClose,
multiple: options.multiple,

controller: ['$scope', 'options', function ($scope, options) {
//console.log( "DIALOG CONTROLLER OPEN", Date.now() - dateClick );
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "md-rainbow",
"version": "1.0.1",
"description": "md-color-picker inspired color picker.",
"version": "1.0.2",
"description": "Continuation of md-color-picker.",
"main": "dist/mdRainbow.js",
"scripts": {
"build": "webpack --progress --colors"
},
"dependencies": {
"tinycolor2": "*"
},
Expand Down Expand Up @@ -46,9 +49,6 @@
"webpack": "2.3.2",
"webpack-dev-server": "2.4.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/hayzey/md-rainbow"
Expand Down
4 changes: 4 additions & 0 deletions src/js/mdRainbow.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ angular.module('mdRainbow', [])
clickOutsideToClose: '=?',
skipHide: '=?',
preserveScope: '=?',
multiple: '=?',

// Advanced options
mdColorClearButton: '=?',
Expand Down Expand Up @@ -551,6 +552,7 @@ angular.module('mdRainbow', [])
hasBackdrop: $scope.hasBackdrop,
skipHide: $scope.skipHide,
preserveScope: $scope.preserveScope,
multiple: $scope.multiple,

mdColorAlphaChannel: $scope.mdColorAlphaChannel,
mdColorSpectrum: $scope.mdColorSpectrum,
Expand Down Expand Up @@ -878,6 +880,7 @@ angular.module('mdRainbow', [])
options.focusOnOpen = options.focusOnOpen === undefined ? false : options.focusOnOpen;
options.preserveScope = options.preserveScope === undefined ? true : options.preserveScope;
options.skipHide = options.skipHide === undefined ? true : options.skipHide;
options.multiple = options.multiple === undefined ? true : options.multiple;

// mdRainbow Properties
options.mdColorAlphaChannel = options.mdColorAlphaChannel === undefined ? false : options.mdColorAlphaChannel;
Expand All @@ -895,6 +898,7 @@ angular.module('mdRainbow', [])
template: mdRainbowDialogTemplate,
hasBackdrop: options.hasBackdrop,
clickOutsideToClose: options.clickOutsideToClose,
multiple: options.multiple,

controller: ['$scope', 'options', function( $scope, options ) {
//console.log( "DIALOG CONTROLLER OPEN", Date.now() - dateClick );
Expand Down

0 comments on commit a67e179

Please sign in to comment.