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 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 )
Original file line number Diff line number Diff line change 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" ,
1616 "url" : " git+https://github.com/TheLarkInn/angular2-template-loader.git"
1717 },
1818 "keywords" : [
19- " angular2 " ,
19+ " angular " ,
2020 " webpack" ,
2121 " angularjs" ,
2222 " 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' ) ;
22var componentWithQuoteInUrls = require ( './component_with_quote_in_urls.js' ) ;
33var componentWithMultipleStyles = require ( './component_with_multiple_styles.js' ) ;
44var componentWithoutRelPeriodSlash = require ( './component_without_relative_period_slash.js' ) ;
55var componentWithSpacing = require ( './component_with_spacing.js' ) ;
66var componentWithSingleLineDecorator = require ( './component_with_single_line_decorator.js' ) ;
77var componentWithTemplateUrlEndingBySpace = require ( './component_with_template_url_ending_by_space.js' ) ;
88
9- exports . simpleAngular2TestComponentFileStringSimple = sampleAngular2ComponentSimpleFixture ;
9+ exports . simpleAngularTestComponentFileStringSimple = sampleAngularComponentSimpleFixture ;
1010exports . componentWithQuoteInUrls = componentWithQuoteInUrls ;
1111exports . componentWithMultipleStyles = componentWithMultipleStyles ;
1212exports . componentWithoutRelPeriodSlash = componentWithoutRelPeriodSlash ;
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ var fixtures = require("./fixtures");
66describe ( "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 ( `
You can’t perform that action at this time.
0 commit comments