diff --git a/README.md b/README.md index 128005b..56427ce 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The plugin is known to work with the configuration described below: * [Widget Factory](http://api.jqueryui.com/jQuery.widget/) * [toe.js](https://github.com/visiongeist/toe.js) (>=3.0) * [Zoetrope](https://github.com/benplum/Zoetrope) (>=3.0) - * [jQuery imgViewer](https://github.com/waynegm/imgViewer) (>=0.7.0) + * [jQuery imgViewer](https://github.com/waynegm/imgViewer) (>=0.7.1) ## Usage @@ -204,7 +204,7 @@ Copyright (c) 2013 Wayne Mogg. ## Release History ### 0.6 First release -### 0.7 -Update to work with imgViewer 0.7 +### 0.7.1 +Update to work with imgViewer 0.7.1 Add zoomable option to disable zooming Updated Grunfile.js to include tests against latest version (2.1.0) of jQuery. \ No newline at end of file diff --git a/dist/imgNotes.js b/dist/imgNotes.js index d8d59fd..bd49fea 100644 --- a/dist/imgNotes.js +++ b/dist/imgNotes.js @@ -1,4 +1,4 @@ -/*! jQuery imgNotes - v0.7.0 - 2014-06-19 +/*! jQuery imgNotes - v0.7.1 - 2014-06-22 * https://github.com/waynegm/imgNotes * Copyright (c) 2014 Wayne Mogg; Licensed MIT */ ;(function($) { diff --git a/dist/imgNotes.min.js b/dist/imgNotes.min.js index 294a7b7..f4289d1 100644 --- a/dist/imgNotes.min.js +++ b/dist/imgNotes.min.js @@ -1,4 +1,4 @@ -/*! jQuery imgNotes - v0.7.0 - 2014-06-19 +/*! jQuery imgNotes - v0.7.1 - 2014-06-22 * https://github.com/waynegm/imgNotes * Copyright (c) 2014 Wayne Mogg; Licensed MIT */ (function(t){t.widget("wgm.imgNotes",{options:{zoom:1,zoomStep:.1,zoomable:!0,canEdit:!1,vAll:"middle",hAll:"middle",onAdd:function(){return this.options.vAll="bottom",this.options.hAll="middle",t(document.createElement("span")).addClass("marker black").html(this.noteCount)},onEdit:function(e,o){var i=t(o);return t("#NoteDialog").remove(),t('
').dialog({title:"Note Editor",resizable:!1,modal:!0,height:"300",width:"450",position:{my:"left bottom",at:"right top",of:o},buttons:{Save:function(){var e=t("textarea",this).val();i.data("note",e),t(this).dialog("close")},Delete:function(){i.trigger("remove"),t(this).dialog("close")},Cancel:function(){t(this).dialog("close")}},open:function(){t(this).css("overflow","hidden");var e=t('