File tree 5 files changed +37
-4
lines changed
5 files changed +37
-4
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "predef" : [
3
+ " console"
4
+ ],
5
+ "strict" : false
6
+ }
Original file line number Diff line number Diff line change
1
+ /*jshint node:true*/
2
+ module . exports = {
3
+ description : 'Install clappr from bower' ,
4
+
5
+ normalizeEntityName : function ( ) {
6
+ } ,
7
+
8
+ afterInstall : function ( ) {
9
+ return this . addBowerPackageToProject ( 'clappr' ) ;
10
+ }
11
+ } ;
Original file line number Diff line number Diff line change 2
2
"name" : " ember-cli-clappr" ,
3
3
"dependencies" : {
4
4
"ember" : " ~2.10.0" ,
5
- "ember-cli-shims" : " 0.1.3"
5
+ "ember-cli-shims" : " 0.1.3" ,
6
+ "clappr" : " ^0.2.65"
6
7
}
7
8
}
Original file line number Diff line number Diff line change 2
2
'use strict' ;
3
3
4
4
module . exports = {
5
- name : 'ember-cli-clappr'
5
+ name : 'ember-cli-clappr' ,
6
+
7
+ included : function ( app , parentAddon ) {
8
+ var target = ( parentAddon || app ) ;
9
+
10
+ if ( target . app ) {
11
+ target = target . app ;
12
+ }
13
+
14
+ var bowerDir = target . bowerDirectory ;
15
+ target . import ( bowerDir + '/clappr/dist/clappr.js' ) ;
16
+ }
6
17
} ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ember-cli-clappr" ,
3
3
"version" : " 0.0.0" ,
4
- "description" : " The default blueprint for ember-cli addons ." ,
4
+ "description" : " Ember wrapper for clappr ." ,
5
5
"keywords" : [
6
- " ember-addon"
6
+ " ember-addon" ,
7
+ " clappr" ,
8
+ " video" ,
9
+ " player" ,
10
+ " wrapper"
7
11
],
8
12
"license" : " MIT" ,
9
13
"author" : " " ,
You can’t perform that action at this time.
0 commit comments