Skip to content

Commit 44af857

Browse files
committed
chore: some small updates
1 parent 128b5c1 commit 44af857

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

Gruntfile.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
11
module.exports = function(grunt) {
22

3+
var banner = '/**\n @name: <%= pkg.name %> \n @version: <%= pkg.version %> (<%= grunt.template.today("dd-mm-yyyy") %>) \n @author: <%= pkg.author %> \n @url: <%= pkg.homepage %> \n @license: <%= pkg.license %>\n*/\n';
4+
35
grunt.initConfig({
46
pkg: grunt.file.readJSON('package.json'),
57
uglify: {
68
js: {
79
files : {
8-
'dist/angular-vimeo-api-factory.min.js' : ['src/angular-vimeo-api-factory.js']
10+
'dist/angular-vimeo-api-factory.min.js' : ['src/*.js']
911
}
1012
},
1113
options: {
12-
banner: '\n/*! <%= pkg.name %> v<%= pkg.version %> (<%= grunt.template.today("dd-mm-yyyy") %>) by <%= pkg.author %> */\n',
14+
banner: banner,
1315
}
1416
},
1517
concat: {
1618
options: {
1719
separator: ';',
18-
banner: '\n/*! <%= pkg.name %> v<%= pkg.version %> (<%= grunt.template.today("dd-mm-yyyy") %>) by <%= pkg.author %> */\n',
20+
banner: banner,
1921
},
2022
dist: {
2123
files : {
22-
'dist/angular-vimeo-api-factory.js' : ['src/angular-vimeo-api-factory.js']
24+
'dist/angular-vimeo-api-factory.js' : ['src/*.js']
2325
}
2426
},
2527
},
2628
watch: {
2729
minifiyJs: {
2830
files: [
29-
'src/angular-vimeo-api-factory.js'
31+
'src/*.js'
3032
],
3133
tasks: ['uglify', 'concat'],
3234
options: {

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-vimeo-api-factory",
33
"description": "angularjs factory for vimeo json rest api requests",
4-
"version": "0.5.1",
4+
"version": "0.5.2",
55
"main": "Gruntfile.js",
66
"authors": [
77
"Jonathan Hornung"

dist/angular-vimeo-api-factory.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
2-
/*! angular-vimeo-api-factory v0.5.1 (03-01-2016) by Jonathan Hornung */
3-
"use strict";
4-
51
/**
6-
@author Jonathan Hornung (https://github.com/JohnnyTheTank)
7-
@url https://github.com/JohnnyTheTank/angular-vimeo-api-factory
8-
@licence MIT
9-
*/
2+
@name: angular-vimeo-api-factory
3+
@version: 0.5.2 (06-01-2016)
4+
@author: Jonathan Hornung
5+
@url: https://github.com/JohnnyTheTank/angular-vimeo-api-factory#readme
6+
@license: MIT
7+
*/
8+
"use strict";
109

1110
angular.module("jtt_vimeo", [])
1211
.factory('vimeoFactory', ['$http', 'vimeoSearchDataService', function ($http, vimeoSearchDataService) {

dist/angular-vimeo-api-factory.min.js

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-vimeo-api-factory",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "angularjs factory for vimeo json rest api requests",
55
"main": "dist/angular-vimeo-api-factory.js",
66
"scripts": {

src/angular-vimeo-api-factory.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
"use strict";
22

3-
/**
4-
@author Jonathan Hornung (https://github.com/JohnnyTheTank)
5-
@url https://github.com/JohnnyTheTank/angular-vimeo-api-factory
6-
@licence MIT
7-
*/
8-
93
angular.module("jtt_vimeo", [])
104
.factory('vimeoFactory', ['$http', 'vimeoSearchDataService', function ($http, vimeoSearchDataService) {
115

0 commit comments

Comments
 (0)