Skip to content

Commit

Permalink
Update naming according to the Angular presskit (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored and TheLarkInn committed Feb 22, 2017
1 parent d88d29d commit c2dc887
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# angular2-template-loader
Chain-to loader for webpack that inlines all html and style's in angular2 components.
Chain-to loader for webpack that inlines all html and style's in angular components.

[![Build Status](https://travis-ci.org/TheLarkInn/angular2-template-loader.svg?branch=master)](https://travis-ci.org/TheLarkInn/angular2-template-loader)
[![Coverage](https://codecov.io/gh/TheLarkInn/angular2-template-loader/branch/master/graph/badge.svg)](https://codecov.io/gh/TheLarkInn/angular2-template-loader)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular2-template-loader",
"version": "0.6.2",
"description": "Angular2 webpack loader that inlines your angular2 templates and stylesheets into angular components. ",
"description": "Angular webpack loader that inlines your angular templates and stylesheets into angular components. ",
"main": "index.js",
"scripts": {
"test": "mocha --reporter spec",
Expand All @@ -16,7 +16,7 @@
"url": "git+https://github.com/TheLarkInn/angular2-template-loader.git"
},
"keywords": [
"angular2",
"angular",
"webpack",
"angularjs",
"loader",
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
var sampleAngular2ComponentSimpleFixture = require('./sample_angular2_component_file_string_simple.js');
var sampleAngularComponentSimpleFixture = require('./sample_angular_component_file_string_simple.js');
var componentWithQuoteInUrls = require('./component_with_quote_in_urls.js');
var componentWithMultipleStyles = require('./component_with_multiple_styles.js');
var componentWithoutRelPeriodSlash = require('./component_without_relative_period_slash.js');
var componentWithSpacing = require('./component_with_spacing.js');
var componentWithSingleLineDecorator = require('./component_with_single_line_decorator.js');
var componentWithTemplateUrlEndingBySpace = require('./component_with_template_url_ending_by_space.js');

exports.simpleAngular2TestComponentFileStringSimple = sampleAngular2ComponentSimpleFixture;
exports.simpleAngularTestComponentFileStringSimple = sampleAngularComponentSimpleFixture;
exports.componentWithQuoteInUrls = componentWithQuoteInUrls;
exports.componentWithMultipleStyles = componentWithMultipleStyles;
exports.componentWithoutRelPeriodSlash = componentWithoutRelPeriodSlash;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var simpleAngular2TestComponentFileStringSimple = `
var simpleAngularTestComponentFileStringSimple = `
import {Component} from '@angular/core';
@Component({
Expand All @@ -9,4 +9,4 @@ var simpleAngular2TestComponentFileStringSimple = `
export class TestComponent {}
`;

module.exports = simpleAngular2TestComponentFileStringSimple;
module.exports = simpleAngularTestComponentFileStringSimple;
2 changes: 1 addition & 1 deletion test/loader.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var fixtures = require("./fixtures");
describe("loader", function() {
it("Should convert html and style file strings to require()s", function(){

loader.call({}, fixtures.simpleAngular2TestComponentFileStringSimple)
loader.call({}, fixtures.simpleAngularTestComponentFileStringSimple)
.should
.be
.eql(`
Expand Down

0 comments on commit c2dc887

Please sign in to comment.