Skip to content

Commit

Permalink
Merge pull request #39 from jezstephens/attach-to-center
Browse files Browse the repository at this point in the history
Allow centering a step over a specific element
  • Loading branch information
b-ash committed Jan 26, 2015
2 parents 1b1bd9a + 4701f9a commit 5fcfcb1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions coffee/shepherd.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ATTACHMENT =
'left': 'middle right'
'right': 'middle left'
'bottom': 'top center'
'center': 'middle center'

createFromHTML = (html) ->
el = document.createElement('div')
Expand Down
3 changes: 2 additions & 1 deletion js/shepherd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion shepherd-amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
'top': 'bottom center',
'left': 'middle right',
'right': 'middle left',
'bottom': 'top center'
'bottom': 'top center',
'center': 'middle center'
};

createFromHTML = function(html) {
Expand Down
2 changes: 1 addition & 1 deletion shepherd-amd.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion shepherd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,8 @@ return this.Tether;
'top': 'bottom center',
'left': 'middle right',
'right': 'middle left',
'bottom': 'top center'
'bottom': 'top center',
'center': 'middle center'
};

createFromHTML = function(html) {
Expand Down
2 changes: 1 addition & 1 deletion shepherd.min.js

Large diffs are not rendered by default.

0 comments on commit 5fcfcb1

Please sign in to comment.