Skip to content

Commit 98ba4b0

Browse files
committed
Merge branch 'release/v0.0.2'
2 parents ea72025 + 5613f02 commit 98ba4b0

File tree

6 files changed

+11
-62
lines changed

6 files changed

+11
-62
lines changed

dist/mdKeyboard.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
*
5757
*/
5858

59+
MdKeyboardProvider.$inject = ["$$interimElementProvider", "$injector", "keyboardLayouts", "keyboardDeadkey", "keyboardSymbols", "keyboardNumpad"];
60+
MdKeyboardDirective.$inject = ["$mdKeyboard", "$mdTheming"];
61+
useKeyboardDirective.$inject = ["$mdKeyboard", "$injector", "$timeout", "$animate", "$log", "$rootScope"];
5962
angular
6063
.module('material.components.keyboard', [
6164
'material.core',
@@ -64,10 +67,10 @@ angular
6467

6568
angular
6669
.module('material.components.keyboard')
67-
.config(function ($mdIconProvider) {
70+
.config(["$mdIconProvider", function ($mdIconProvider) {
6871
$mdIconProvider
6972
.fontSet('md', 'material-icons');
70-
});
73+
}]);
7174

7275

7376
/* See http://www.greywyvern.com/code/javascript/keyboard for examples
@@ -1169,6 +1172,7 @@ angular
11691172

11701173
function MdKeyboardProvider($$interimElementProvider, $injector, keyboardLayouts, keyboardDeadkey, keyboardSymbols, keyboardNumpad) {
11711174
// how fast we need to flick down to close the sheet, pixels/ms
1175+
keyboardDefaults.$inject = ["$animate", "$mdConstant", "$mdUtil", "$mdTheming", "$mdKeyboard", "$rootElement", "$mdGesture"];
11721176
var SCOPE;
11731177
var CLOSING_VELOCITY = 0.5;
11741178
var PADDING = 80; // same as css

dist/mdKeyboard.min.js

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

dist/mdKeyboard.min.js.orig

Lines changed: 0 additions & 7 deletions
This file was deleted.

dist/svg/hardware-icons.svg

Lines changed: 0 additions & 50 deletions
This file was deleted.

gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ gulp.task('build', function () {
5959
.pipe(plugins.embedTemplates())
6060
.pipe(plugins.replace(/[\r\n]+\s*\/\/.*TODO:+.*/gi, ''))
6161
// .pipe(plugins.replace(/angular\s*\.module\('material\.components\.keyboard'\)\n/gi, ''))
62+
.pipe(plugins.ngAnnotate())
6263
.pipe(gulp.dest('./dist/'))
6364
.pipe(plugins.uglify())
6465
.pipe(plugins.concat('mdKeyboard.min.js'))

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"gulp-header": "^1.2.2",
2222
"gulp-jshint": "^1.9.2",
2323
"gulp-load-plugins": "^0.8.0",
24+
"gulp-ng-annotate": "^2.0.0",
2425
"gulp-replace": "^0.5.4",
2526
"gulp-sass": "^2.2.0",
2627
"gulp-uglify": "^1.1.0",

0 commit comments

Comments
 (0)