Skip to content

Commit 0416109

Browse files
committed
Promise polyfilled removed from the complete version. (See readme.md file for details) - version number and info fixed on several files
1 parent 6fa8096 commit 0416109

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

Gruntfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ module.exports = function(grunt) {
1010
separator: '\n'
1111
},
1212
core: {
13-
src: ['bower_components/fulltilt/dist/fulltilt.js', 'lib/gyronorm.js'],
13+
src: ['lib/gyronorm.js'],
1414
dest: 'dist/gyronorm.js'
1515
},
1616
complete: {
17-
src: ['bower_components/promise/promise.js', 'bower_components/fulltilt/dist/fulltilt.js', 'lib/gyronorm.js'],
17+
src: ['bower_components/fulltilt/dist/fulltilt.js', 'lib/gyronorm.js'],
1818
dest: 'dist/gyronorm.complete.js'
1919
},
2020
complete_minified: {
21-
src: ['bower_components/es6-promise/es6-promise.min.js', 'bower_components/fulltilt/dist/fulltilt.min.js', 'dist/gyronorm.min.js'],
21+
src: ['bower_components/fulltilt/dist/fulltilt.min.js', 'dist/gyronorm.min.js'],
2222
dest: 'dist/gyronorm.complete.min.js'
2323
}
2424
},
2525
uglify: {
2626
options: {
2727
// the banner is inserted at the top of the output
28-
banner: '\n/* gyronorm.js v2.0.4 - https://github.com/dorukeker/gyronorm.git*/\n'
28+
banner: '\n/* gyronorm.js v2.0.5 - https://github.com/dorukeker/gyronorm.git*/\n'
2929
},
3030
dist: {
3131
files: {

bower.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gyronorm",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"homepage": "https://github.com/dorukeker/gyronorm.git",
55
"authors": [
66
"Doruk Eker"
@@ -23,8 +23,7 @@
2323
],
2424
"license": "MIT",
2525
"dependencies": {
26-
"fulltilt": "0.5.3",
27-
"promise": "*"
26+
"fulltilt": "0.5.3"
2827
},
2928
"devDependencies": {
3029
"bootstrap": "~3.3.2"

demo/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<meta name="viewport" content="width=device-width, user-scalable=no">
44
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
55
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
6-
<script src="../bower_components/es6-promise/promise.min.js"></script>
76
<script src="../bower_components/fulltilt/dist/fulltilt.min.js"></script>
87
<script src="../lib/gyronorm.js"></script>
98
<link href="../bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

lib/gyronorm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* JavaScript project for accessing and normalizing the accelerometer and gyroscope data on mobile devices
33
*
4-
* @author Doruk Eker <dorukeker@gmail.com>
4+
* @author Doruk Eker <doruk@dorukeker.com>
55
* @copyright Doruk Eker <http://dorukeker.com>
6-
* @version 2.0.4
6+
* @version 2.0.5
77
* @license MIT License | http://opensource.org/licenses/MIT
88
*/
99

0 commit comments

Comments
 (0)