Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for zepto js library! #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ patternLock
A light weight plugin to simulate android like pattern lock mechanism for your hybrid app or for a website. It's easy to configure and style so you can have different type of pattern lock according to your need. Is also provide some methods to use this plugin securely.

<strong>How to use?</strong><br>
Include jquery and patternLock.js and patternLock.css to your page.
Include jquery or zepto, then add patternLock.js and patternLock.css to your page.
<pre class="brush: xml;">
&lt;link href=&quot;patternLock.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;script src=&quot;jquery.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;jquery.js&quot;&gt;&lt;/script&gt; or &lt;script src=&quot;zepto.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;patternLock.js&quot;&gt;&lt;/script&gt;
</pre>
Than with simple initialization you have your pattern lock.
Expand All @@ -26,4 +26,7 @@ Check demo and documentation on <a href="http://ignitersworld.com/lab/patternLoc
- Added setPattern, disable, enable methods.

<strong>v0.5.0</strong>
- Added directional classes, dir, n,s,e,w,n-e,n-w,s-e,s-w.
- Added directional classes, dir, n,s,e,w,n-e,n-w,s-e,s-w.

<strong>v0.6.0</strong>
- Support for zepto js library.
2 changes: 1 addition & 1 deletion patternLock.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,4 +385,4 @@
};

window.PatternLock = PatternLock;
}(jQuery, window, document));
}($, window, document));
2 changes: 1 addition & 1 deletion patternLock.min.js

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