Skip to content

Commit c2dc887

Browse files
frederikprijckTheLarkInn
authored andcommitted
Update naming according to the Angular presskit (#56)
1 parent d88d29d commit c2dc887

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# angular2-template-loader
2-
Chain-to loader for webpack that inlines all html and style's in angular2 components.
2+
Chain-to loader for webpack that inlines all html and style's in angular components.
33

44
[![Build Status](https://travis-ci.org/TheLarkInn/angular2-template-loader.svg?branch=master)](https://travis-ci.org/TheLarkInn/angular2-template-loader)
55
[![Coverage](https://codecov.io/gh/TheLarkInn/angular2-template-loader/branch/master/graph/badge.svg)](https://codecov.io/gh/TheLarkInn/angular2-template-loader)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular2-template-loader",
33
"version": "0.6.2",
4-
"description": "Angular2 webpack loader that inlines your angular2 templates and stylesheets into angular components. ",
4+
"description": "Angular webpack loader that inlines your angular templates and stylesheets into angular components. ",
55
"main": "index.js",
66
"scripts": {
77
"test": "mocha --reporter spec",
@@ -16,7 +16,7 @@
1616
"url": "git+https://github.com/TheLarkInn/angular2-template-loader.git"
1717
},
1818
"keywords": [
19-
"angular2",
19+
"angular",
2020
"webpack",
2121
"angularjs",
2222
"loader",

test/fixtures/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
var sampleAngular2ComponentSimpleFixture = require('./sample_angular2_component_file_string_simple.js');
1+
var sampleAngularComponentSimpleFixture = require('./sample_angular_component_file_string_simple.js');
22
var componentWithQuoteInUrls = require('./component_with_quote_in_urls.js');
33
var componentWithMultipleStyles = require('./component_with_multiple_styles.js');
44
var componentWithoutRelPeriodSlash = require('./component_without_relative_period_slash.js');
55
var componentWithSpacing = require('./component_with_spacing.js');
66
var componentWithSingleLineDecorator = require('./component_with_single_line_decorator.js');
77
var componentWithTemplateUrlEndingBySpace = require('./component_with_template_url_ending_by_space.js');
88

9-
exports.simpleAngular2TestComponentFileStringSimple = sampleAngular2ComponentSimpleFixture;
9+
exports.simpleAngularTestComponentFileStringSimple = sampleAngularComponentSimpleFixture;
1010
exports.componentWithQuoteInUrls = componentWithQuoteInUrls;
1111
exports.componentWithMultipleStyles = componentWithMultipleStyles;
1212
exports.componentWithoutRelPeriodSlash = componentWithoutRelPeriodSlash;

test/fixtures/sample_angular2_component_file_string_simple.js renamed to test/fixtures/sample_angular_component_file_string_simple.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var simpleAngular2TestComponentFileStringSimple = `
1+
var simpleAngularTestComponentFileStringSimple = `
22
import {Component} from '@angular/core';
33
44
@Component({
@@ -9,4 +9,4 @@ var simpleAngular2TestComponentFileStringSimple = `
99
export class TestComponent {}
1010
`;
1111

12-
module.exports = simpleAngular2TestComponentFileStringSimple;
12+
module.exports = simpleAngularTestComponentFileStringSimple;

test/loader.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var fixtures = require("./fixtures");
66
describe("loader", function() {
77
it("Should convert html and style file strings to require()s", function(){
88

9-
loader.call({}, fixtures.simpleAngular2TestComponentFileStringSimple)
9+
loader.call({}, fixtures.simpleAngularTestComponentFileStringSimple)
1010
.should
1111
.be
1212
.eql(`

0 commit comments

Comments
 (0)