Skip to content

Commit

Permalink
fixed width
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-karolewski committed Dec 12, 2015
1 parent b183525 commit 14b5cfd
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
21 changes: 16 additions & 5 deletions META-INF/plugin.xml
@@ -1,7 +1,7 @@
<idea-plugin version="2">
<id>org.weebly.generator</id>
<name>ScaffAngular</name>
<version>2.0.2</version>
<version>2.1.1</version>
<vendor email="weeblysup@gmail.com">Weebly</vendor>

<description>
Expand All @@ -24,26 +24,37 @@

<change-notes>
<![CDATA[
<h3>12/08/2015</h3>
<section>
<h3>12/11/2015 - 2.1.1</h3>
<ol>
<li>fixed missig underscores around component name in factory and service unit test templates</li>
</ol>
</section>
<section>
<h3>12/08/2015 - 2.1.0</h3>
<ol>
<li>fixed file naming issues</li>
</ol>
</section>
<section>
<h3>4/17/2015</h3>
<ol>
<li>fixed filter unit test stub</li>
</ol>
</section>
<section>
<h3>4/1/2015</h3>
<ol>
<li>More components (factory, filter)</li>
<li>Improved ngdoc</li>
</ol>
</section>
<section>
<h3>7/22/2014</h3>
<ol>
<li>Bug Fixes. Mainly around directives.</li>
</ol>
</section>
]]>
</change-notes>

Expand Down
5 changes: 2 additions & 3 deletions files/templates/DirectiveSpec.js
Expand Up @@ -5,9 +5,9 @@ describe('Directive: #MODULENAME#.#COMPONENTNAME#', function () {
beforeEach(inject(function ($compile, $rootScope) {
scope = $rootScope.$new();

//update the line below!
//update to match directive your testing
ele = angular.element('<div #COMPONENTNAME#></div>');
//update the above line if you haven't!

$compile(ele)(scope);
scope.$apply();
}));
Expand All @@ -18,7 +18,6 @@ describe('Directive: #MODULENAME#.#COMPONENTNAME#', function () {
* */
it('should not render empty html', function () {
scope.$apply(function () {

/**
* Set the scope properties here.
* scope.desc = 'test hostname';
Expand Down
2 changes: 1 addition & 1 deletion files/templates/FactorySpec.js
Expand Up @@ -8,7 +8,7 @@ describe('Service: #MODULENAME#.#COMPONENTNAME#', function () {

//update the injection
beforeEach(inject(function (_#COMPONENTNAME#_) {
service = #COMPONENTNAME#;
service = _#COMPONENTNAME#_;
}));

/**
Expand Down
2 changes: 1 addition & 1 deletion files/templates/ServiceSpec.js
Expand Up @@ -8,7 +8,7 @@ describe('Service: #MODULENAME#.#COMPONENTNAME#', function () {

//update the injection
beforeEach(inject(function (_#COMPONENTNAME#_) {
service = #COMPONENTNAME#;
service = _#COMPONENTNAME_#;
}));

/**
Expand Down

0 comments on commit 14b5cfd

Please sign in to comment.