Skip to content
This repository has been archived by the owner on Jul 7, 2018. It is now read-only.

jQuery widget upgrade and #11

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

neshte
Copy link

@neshte neshte commented Sep 8, 2014

I needed the plugin to work on IE6 so I first included excanvas polyfill to achieve this but anyway I needed to change the plugin. There were also some things in design/flexibility that I think they limit the potential of the plugin, for example to loose coupling the canvas polygon drawing with a textarea, or to always use a reset button no matter if I want it or not. So I needed to change some of those things and ended up upgrading the plugin to also work with the jquery widget pattern, so it seems that lots of things changed but they really not. Lots of pieces of code you first developed were respected and just changed references or stuff like that to make it fit the jquery widget design pattern. Also I updated the readme file for the new flexible way to call the plugin and its methods or callbacks, and also updated the minified script, and added the excanvas script for the demo to work.

neshte and others added 7 commits September 5, 2014 18:46
Changed reset code to be called outside the plugin
Do not force to use textarea for plugin to work
Added interface to query points
Added excanvas for support from IE6 and later of canvas html element
After the last commit, some options changed and needed to be documented
Forgot to mention the IE6 support
Updated typo in api call on demo.html
- Implemented flexible API layer for extended interaction with the widget state.
New documentation for multi-area and API
@neshte
Copy link
Author

neshte commented Sep 10, 2014

Implemented multi-area support and added some methods to be used as an API layer for widget state manipulation. This last commit should help you with the issue 8 claiming the functionality of multiple areas.

@singlow
Copy link
Contributor

singlow commented Sep 10, 2014

This looks nice - I will review ASAP.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants