Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

Commit 20a5cd3

Browse files
committed
rename plugin to stick with camel case
1 parent 5c2f4b9 commit 20a5cd3

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function (grunt) {
2525
},
2626

2727
// Configuration to be run (and then tested).
28-
angular_combine : {
28+
angularCombine : {
2929
combine : {
3030
options : {
3131
appBaseDir : "test/fixtures",
@@ -52,7 +52,7 @@ module.exports = function (grunt) {
5252

5353
// Whenever the "test" task is run, first clean the "tmp" dir, then run this
5454
// plugin's task(s), then test the result.
55-
grunt.registerTask('test', [ 'clean', 'angular_combine', 'nodeunit' ]);
55+
grunt.registerTask('test', [ 'clean', 'angularCombine', 'nodeunit' ]);
5656

5757
// By default, lint and run all tests.
5858
grunt.registerTask('default', [ 'jshint', 'test' ]);

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Once the plugin has been installed, it may be enabled inside your Gruntfile with
1717
grunt.loadNpmTasks('grunt-angular-combine');
1818
```
1919

20-
## The "angular_combine" task
20+
## The "angularCombine" task
2121

2222
### Overview
23-
In your project's Gruntfile, add a section named `angular_combine` to the data object passed into `grunt.initConfig()`.
23+
In your project's Gruntfile, add a section named `angularCombine` to the data object passed into `grunt.initConfig()`.
2424

2525
```js
2626
grunt.initConfig({
27-
angular_combine: {
27+
angularCombine: {
2828
combine: {
2929
options : {
3030
appBaseDir : "app",
@@ -57,7 +57,7 @@ In this example, all HTML files located into app/directives will be merged into
5757

5858
```js
5959
grunt.initConfig({
60-
angular_combine: {
60+
angularCombine: {
6161
combine: {
6262
options : {
6363
appBaseDir : "app",

tasks/angular_combine.js renamed to tasks/angular-combine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'use strict';
1010

1111
module.exports = function (grunt) {
12-
grunt.registerMultiTask('angular_combine', 'Combine AngularJS partials into a single HTML file.', function () {
12+
grunt.registerMultiTask('angularCombine', 'Combine AngularJS partials into a single HTML file.', function () {
1313
var options = this.options({
1414
appBaseDir : '',
1515
targetDir : ''

test/angular_combine_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var grunt = require('grunt');
2222
test.ifError(value)
2323
*/
2424

25-
exports.angular_combine = {
25+
exports.angularCombine = {
2626
setUp : function (done) {
2727
// setup here if necessary
2828
done();

0 commit comments

Comments
 (0)