aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-06-30 19:30:19 +0200
committerVictor Häggqvist <[email protected]>2014-06-30 19:30:19 +0200
commit004855dbc6a1a60b9f3827302c5bfae039bd3875 (patch)
treef14aecbb1f3f5016f3aa615655373abbc34ed653
parent420a156db6c043ba260908a838597a520b9ba804 (diff)
readme update
-rw-r--r--README.md41
1 files changed, 33 insertions, 8 deletions
diff --git a/README.md b/README.md
index 4a80e75..4891291 100644
--- a/README.md
+++ b/README.md
@@ -1,19 +1,44 @@
-# You are only as good as your last commit
+# Last commit widget
+### You are only as good as your last commit
JavaScript widget to include on your site that shows and links to your last commit on GitHub.
+This is [Johan Nilsson](https://github.com/johannilsson/lastcommit)'s last commit widget but with no need for jQuery.
``` html
<span class="lastcommit-widget" data-user="your github username"></span>
-<script src="http://johannilsson.github.com/lastcommit/widget.js"></script>
+<script src="//victorhaggqvist.github.io/lastcommit/lastcommit.min.js"></script>
```
-* It's not smart enough to filter out commits by others in a repository.
* Does not work properly on commits in branches.
-By [Johan Nilsson](http://markupartist.com)
+By [Victor Häggqvist](http://victorhaggqvist.com)
-### Credits
+# Credits
-* Background from [Subtle Patterns](http://subtlepatterns.com/?p=850).
-* Widget based on [Erik Petterssons](http://twitter.com/ptz0n) widget for [av.vikel.se](http://dev.av.vikel.se)
-* [GitHub](http://github.com) for their APIs.
+- First idea [Johan Nilsson](http://markupartist.com)
+- [GitHub](http://github.com) for their APIs.
+
+#License
+```
+The MIT License (MIT)
+
+Copyright (c) 2014 Victor Häggqvist
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+```