File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
# 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.
3
3
4
4
[ ![ Build Status] ( https://travis-ci.org/TheLarkInn/angular2-template-loader.svg?branch=master )] ( https://travis-ci.org/TheLarkInn/angular2-template-loader )
5
5
[ ![ Coverage] ( https://codecov.io/gh/TheLarkInn/angular2-template-loader/branch/master/graph/badge.svg )] ( https://codecov.io/gh/TheLarkInn/angular2-template-loader )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " angular2-template-loader" ,
3
3
"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. " ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " mocha --reporter spec" ,
16
16
"url" : " git+https://github.com/TheLarkInn/angular2-template-loader.git"
17
17
},
18
18
"keywords" : [
19
- " angular2 " ,
19
+ " angular " ,
20
20
" webpack" ,
21
21
" angularjs" ,
22
22
" loader" ,
Original file line number Diff line number Diff line change 1
- var sampleAngular2ComponentSimpleFixture = require ( './sample_angular2_component_file_string_simple .js' ) ;
1
+ var sampleAngularComponentSimpleFixture = require ( './sample_angular_component_file_string_simple .js' ) ;
2
2
var componentWithQuoteInUrls = require ( './component_with_quote_in_urls.js' ) ;
3
3
var componentWithMultipleStyles = require ( './component_with_multiple_styles.js' ) ;
4
4
var componentWithoutRelPeriodSlash = require ( './component_without_relative_period_slash.js' ) ;
5
5
var componentWithSpacing = require ( './component_with_spacing.js' ) ;
6
6
var componentWithSingleLineDecorator = require ( './component_with_single_line_decorator.js' ) ;
7
7
var componentWithTemplateUrlEndingBySpace = require ( './component_with_template_url_ending_by_space.js' ) ;
8
8
9
- exports . simpleAngular2TestComponentFileStringSimple = sampleAngular2ComponentSimpleFixture ;
9
+ exports . simpleAngularTestComponentFileStringSimple = sampleAngularComponentSimpleFixture ;
10
10
exports . componentWithQuoteInUrls = componentWithQuoteInUrls ;
11
11
exports . componentWithMultipleStyles = componentWithMultipleStyles ;
12
12
exports . componentWithoutRelPeriodSlash = componentWithoutRelPeriodSlash ;
Original file line number Diff line number Diff line change 1
- var simpleAngular2TestComponentFileStringSimple = `
1
+ var simpleAngularTestComponentFileStringSimple = `
2
2
import {Component} from '@angular/core';
3
3
4
4
@Component({
@@ -9,4 +9,4 @@ var simpleAngular2TestComponentFileStringSimple = `
9
9
export class TestComponent {}
10
10
` ;
11
11
12
- module . exports = simpleAngular2TestComponentFileStringSimple ;
12
+ module . exports = simpleAngularTestComponentFileStringSimple ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ var fixtures = require("./fixtures");
6
6
describe ( "loader" , function ( ) {
7
7
it ( "Should convert html and style file strings to require()s" , function ( ) {
8
8
9
- loader . call ( { } , fixtures . simpleAngular2TestComponentFileStringSimple )
9
+ loader . call ( { } , fixtures . simpleAngularTestComponentFileStringSimple )
10
10
. should
11
11
. be
12
12
. eql ( `
You can’t perform that action at this time.
0 commit comments