Skip to content

Commit bc2947b

Browse files
author
Pete Martin
committed
pm : v0.0.2 (restructure)
1 parent 275b322 commit bc2947b

File tree

7 files changed

+24
-20
lines changed

7 files changed

+24
-20
lines changed

Gruntfile.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = function(grunt) {
44
grunt.initConfig({
55
pkg: grunt.file.readJSON('package.json'),
66
jshint: {
7-
all: ['Gruntfile.js', 'dev/src/js/**/*.js'],
7+
all: ['*.js'],
88
options: {
99
bitwise: true,
1010
curly: true,
@@ -47,27 +47,28 @@ module.exports = function(grunt) {
4747
separator: ';'
4848
},
4949
dist: {
50-
src: ['src/<%= pkg.name %>.js'],
51-
dest: 'src/<%= pkg.name %>.min.js'
50+
src: ['<%= pkg.name %>.js'],
51+
dest: '<%= pkg.name %>.min.js'
5252
}
5353
},
5454
uglify: {
5555
src: {
5656
files: {
57-
'src/<%= pkg.name %>.min.js': ['src/<%= pkg.name %>.min.js']
57+
'<%= pkg.name %>.min.js': ['<%= pkg.name %>.min.js']
5858
}
5959
}
6060
},
6161
watch: {
6262
hint: {
63-
files: ['Gruntfile.js', 'dev/**/*.*'],
63+
files: ['*.js'],
6464
tasks: ['jshint']
6565
}
6666
}
6767
});
6868

6969
grunt.loadNpmTasks('grunt-contrib-jshint');
7070
grunt.loadNpmTasks('grunt-contrib-watch');
71+
grunt.loadNpmTasks('grunt-contrib-concat');
7172
grunt.loadNpmTasks('grunt-contrib-uglify');
7273
grunt.loadNpmTasks('grunt-notify');
7374
grunt.loadNpmTasks('grunt-strip');

bower.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "ngBase64",
3+
"version": "1.0.1",
4+
"main": [
5+
"ngBase64.js",
6+
"ngBase64.min.js"
7+
],
8+
"ignore": [
9+
"package.json",
10+
"Gruntfile.js"
11+
],
12+
"dependencies": {
13+
"angular": ">= 1.0.8"
14+
}
15+
}

src/ngBase64.js renamed to ngBase64.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* then an exception is thrown.
5454
*/
5555

56-
angular.module('base64', []).constant('$base64', {
56+
angular.module('ngBase64', []).constant('$base64', {
5757
PADCHAR: '=',
5858
ALPHA: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
5959
getbyte64: function(s,i) {

ngBase64.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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngBase64",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"author": "Ninjatronic",
55
"description": "Base64 Conversion for AngularJS Apps",
66
"contributors": [

src/bower.json

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

src/ngBase64.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)