Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Update dependencies, use bower
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Feb 12, 2015
1 parent 6c46d67 commit c88e53c
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
_site/
bower_components/
9 changes: 0 additions & 9 deletions .gitmodules

This file was deleted.

6 changes: 2 additions & 4 deletions README.md
Expand Up @@ -9,10 +9,8 @@ With PlusAsTab, elements can be marked as *plussable*, allowing the user to use

## Get it

To include dependencies, make sure to get the submodules too.

```
git clone --recursive git://github.com/joelpurra/plusastab.git
```bash
bower install jquery-plusastab
```

## Demos
Expand Down
11 changes: 11 additions & 0 deletions bower.json
@@ -0,0 +1,11 @@
{
"name": "jquery-plusastab",
"version": "0.2.1",
"dependencies": {
"console-shim": "*",
"jquery": "^2.0.0",
"qunit": "^1.3.0",
"jquery-simulate": "^1.0.0",
"jquery-emulatetab": "^0.2.8"
}
}
2 changes: 1 addition & 1 deletion example/demo.html
Expand Up @@ -109,7 +109,7 @@
</p>
</form>
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="../lib/emulatetab/src/emulatetab.joelpurra.js"></script>
<script src="https://cdn.rawgit.com/joelpurra/emulatetab/master/src/emulatetab.joelpurra.js"></script>
<script src="../src/plusastab.joelpurra.js"></script>
<script>
//<![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion example/enter-as-tab.html
Expand Up @@ -91,7 +91,7 @@
</fieldset>
</form>
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="../lib/emulatetab/src/emulatetab.joelpurra.js"></script>
<script src="https://cdn.rawgit.com/joelpurra/emulatetab/master/src/emulatetab.joelpurra.js"></script>
<script src="../src/plusastab.joelpurra.js"></script>
<script>
//<![CDATA[
Expand Down
1 change: 0 additions & 1 deletion lib/emulatetab
Submodule emulatetab deleted from 882ae6
6 changes: 3 additions & 3 deletions plusastab.jquery.json
Expand Up @@ -17,7 +17,7 @@
"numpad",
"tenkey"
],
"version": "0.2.0",
"version": "0.2.1",
"author": {
"name": "The Swedish Post and Telecom Authority (PTS)",
"url": "http://pts.se/"
Expand All @@ -36,7 +36,7 @@
"bugs": "https://github.com/joelpurra/plusastab/issues",
"demo": "http://joelpurra.github.com/plusastab/example/enter-as-tab.html",
"dependencies": {
"jquery": ">=1.7",
"emulatetab": "~0.2.1"
"jquery": "^2.0.0",
"emulatetab": "^0.2.8"
}
}
13 changes: 7 additions & 6 deletions test/index.html
Expand Up @@ -2,15 +2,16 @@
<html>
<head>
<title>PlusAsTab Test Suite</title>
<link rel="stylesheet" href="qunit/qunit/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="qunit/qunit/qunit.js"></script>
<link rel="stylesheet" href="../bower_components/qunit/qunit/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="../bower_components/qunit/qunit/qunit.js"></script>
<script type="text/javascript" src="../bower_components/console-shim/console-shim.js"></script>
<!-- Dependencies -->
<script type="text/javascript" src="jquery-ui/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../lib/emulatetab/src/emulatetab.joelpurra.js"></script>
<script type="text/javascript" src="../bower_components/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="../bower_components/jquery-emulatetab/src/emulatetab.joelpurra.js"></script>
<!-- Test helper -->
<script type="text/javascript" src="../bower_components/jquery-simulate/jquery.simulate.js"></script>
<!-- Script under test, actual code -->
<script type="text/javascript" src="../src/plusastab.joelpurra.js"></script>
<!-- Test helper -->
<script type="text/javascript" src="jquery-ui/tests/jquery.simulate.js"></script>
<!-- Test code -->
<script type="text/javascript" src="basic.js"></script>
</head>
Expand Down
1 change: 0 additions & 1 deletion test/jquery-ui
Submodule jquery-ui deleted from 651460
1 change: 0 additions & 1 deletion test/qunit
Submodule qunit deleted from b3f12a

0 comments on commit c88e53c

Please sign in to comment.