Skip to content

Commit

Permalink
Let's release v5 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Jun 18, 2015
1 parent b726a0b commit c65669c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dist/js/medium-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,7 @@ var Util;
while (element && element.firstChild) {
element = element.firstChild;
}

// We don't want to set the selection to an element that can't have children, this messes up Gecko.
element = this.traverseUp(element, function (el) {
return Util.emptyElementNames.indexOf(el.nodeName.toLowerCase()) === -1;
Expand Down Expand Up @@ -3737,9 +3738,9 @@ var FontSizeForm;

// Called when the button the toolbar is clicked
// Overrides ButtonExtension.handleClick
handleClick: function (evt) {
evt.preventDefault();
evt.stopPropagation();
handleClick: function (event) {
event.preventDefault();
event.stopPropagation();

if (!this.isDisplayed()) {
// Get fontsize of current selection (convert to string since IE returns this as number)
Expand Down Expand Up @@ -5566,7 +5567,6 @@ function MediumEditor(elements, options) {
extension = new MediumEditor.extensions.button(name);
}
}
break;
}

if (extension) {
Expand Down Expand Up @@ -5892,7 +5892,7 @@ MediumEditor.parseVersionString = function (release) {

MediumEditor.version = MediumEditor.parseVersionString.call(this, ({
// grunt-bump looks for this:
'version': '5.0.0-rc.1'
'version': '5.0.0'
}).version);

return MediumEditor;
Expand Down
4 changes: 1 addition & 3 deletions dist/js/medium-editor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-editor",
"version": "5.0.0-rc.1",
"version": "5.0.0",
"author": "Davi Ferreira <[email protected]>",
"contributors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/js/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ MediumEditor.parseVersionString = function (release) {

MediumEditor.version = MediumEditor.parseVersionString.call(this, ({
// grunt-bump looks for this:
'version': '5.0.0-rc.1'
'version': '5.0.0'
}).version);

1 comment on commit c65669c

@daviferreira
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👊

Please sign in to comment.