Skip to content

Commit

Permalink
bower file
Browse files Browse the repository at this point in the history
remove exampl code in index.html
  • Loading branch information
Janic Beauchemin committed Jul 14, 2014
1 parent 963f8db commit 5e1dd52
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 9 deletions.
41 changes: 41 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "jquery-switcher",
"version": "1.0.0",
"homepage": "http://djanix.github.io/jquery-switcher/",
"docs": "http://amsul.github.io/pickadate.js",
"authors": [
"Janic Beauchemin <[email protected]>"
],
"description": "Custom checkbox in jquery",
"main": "dist/switcher.js",
"repository": {
"type": "git",
"url": "https://github.com/djanix/jquery-switcher.git"
},
"keywords": [
"switcher",
"switch",
"checkbox",
"input",
"custom"
],
"license": "no",
"ignore": [
"*.md",
"node_modules",
".sass-cache"
],
"dependencies": {
"jquery": ">=1.6"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-watch": "^0.6.1",
"grunt-contrib-jshint": "^0.10.0",
"grunt-autoprefixer": "^0.7.3",
"matchdep": "^0.3.0",
"grunt-contrib-uglify": "^0.5.0",
"grunt-contrib-sass": "~0.7.3",
"grunt-contrib-copy": "~0.5.0"
}
}
11 changes: 2 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,14 @@
<body>
<h1>Jquery Switcher</h1>

<div class="switcher"
data-class="switcher"
data-name="switch"
data-selected="false"
data-language="en"
data-disabled="false">
</div>
<div class="switcher switcher"></div>

<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="./dist/switcher.min.js"></script>

<script type="text/javascript">
$(function () {
var $switcher = $('.switcher');
$switcher.switcher();
$('.switcher').switcher();
});
</script>
</body>
Expand Down

0 comments on commit 5e1dd52

Please sign in to comment.