Skip to content

Commit

Permalink
Fix issue with constraint assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
AshesOfOwls committed Mar 19, 2018
1 parent bbb10d1 commit 981d62a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2495,8 +2495,8 @@ var Positioner = function () {
var attachmentConstraints = generatePossibleConstraintsFor(constraint.attachment);
var popoverConstraints = generatePossibleConstraintsFor(constraint.popover);

popoverConstraints.forEach(function (attachment) {
attachmentConstraints.forEach(function (popover) {
popoverConstraints.forEach(function (popover) {
attachmentConstraints.forEach(function (attachment) {
validConstraints.push({ popover: popover, attachment: attachment });
});
});
Expand Down Expand Up @@ -3408,7 +3408,7 @@ if(false) {
/* 28 */
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__(29)(undefined);
exports = module.exports = __webpack_require__(29)(false);
// imports


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "popover.js",
"version": "0.2.32",
"version": "0.2.33",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/positioner.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ class Positioner {
const attachmentConstraints = generatePossibleConstraintsFor(constraint.attachment);
const popoverConstraints = generatePossibleConstraintsFor(constraint.popover);

popoverConstraints.forEach((attachment) => {
attachmentConstraints.forEach((popover) => {
popoverConstraints.forEach((popover) => {
attachmentConstraints.forEach((attachment) => {
validConstraints.push({ popover, attachment });
});
});
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ body {
}

.popoverjs-content {
height: 200px;
height: 150px;
width: 100px;
}

0 comments on commit 981d62a

Please sign in to comment.