Skip to content

Commit e43b914

Browse files
committed
Bower support
Updated folder structure, added bower ignore, added uglyfied version
1 parent 013c236 commit e43b914

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

bower.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
{
22
"name": "gyronorm",
3-
"version": "1.0.3",
3+
"version": "1.0.2",
44
"homepage": "https://github.com/dorukeker/gyronorm.git",
55
"authors": [
66
"Doruk Eker"
77
],
88
"description": "Accesses the gyroscope and accelerometer data from the web browser and combines them in one JS object.",
9-
"main": "js/gyronorm.js",
9+
"main": "gyronorm.min.js",
1010
"ignore":[
1111
"README.md",
1212
"LICENSE",
13-
"demo/*"
13+
"demo/*",
14+
"demo"
1415
],
1516
"keywords": [
1617
"devicemotion",

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<head>
33
<meta name="viewport" content="width=device-width, user-scalabel=no">
44
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
5-
<script src="/js/gyronorm.js"></script>
5+
<script src="/gyronorm.js"></script>
66
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
77
<style type="text/css">
88
input[type=button]{

js/gyronorm.js renamed to gyronorm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* @author Doruk Eker <dorukeker@gmail.com>
55
* @copyright 2014 Doruk Eker <http://dorukeker.com>
6-
* @version 1.0.3
6+
* @version 1.0.2
77
* @license MIT License | http://opensource.org/licenses/MIT
88
*/
99

gyronorm.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)