diff --git a/lib/templates/README.md b/lib/templates/README.md index ebdcaab..1ee382b 100644 --- a/lib/templates/README.md +++ b/lib/templates/README.md @@ -1,2 +1,5 @@ ## <%= filename %> -<% if (scss === false) { %>> Style can be found in global/style<% } %> \ No newline at end of file + +<% if (scss === false) { %>> Style can be found in global/style<% } %> + +Concept: [](https://) diff --git a/lib/templates/pattern.hbs b/lib/templates/pattern.hbs index 7159d92..c4483e3 100755 --- a/lib/templates/pattern.hbs +++ b/lib/templates/pattern.hbs @@ -1,4 +1,4 @@ -<{{tag}} {{#if id}}id="{{id}}" {{/if}} class="<%= classname %>{{#if modifiers}} {{modifiers}}{{/if}}{{#if xclasses}} {{xclasses}}{{/if}}" <% if (scss || js) { %> data-jsinit="<%= filename %>"<% } %>{{#if jsInstanceId}} data-module-id="{{jsInstanceId}}"{{/if}}{{#if xclasses}} {{{xattributes}}}{{/if}}> -
+<{{tag}} {{#if id}}id="{{id}}" {{/if}} class="<%= classname %>{{#if modifiers}} {{modifiers}}{{/if}}{{#if xclasses}} {{xclasses}}{{/if}}" <% if (scss || js) { %> data-jsinit="<%= filename %>"<% } %>{{#if jsInstanceId}} data-module-id="{{jsInstanceId}}"{{/if}}{{#if xattributes}} {{{xattributes}}}{{/if}}> +
diff --git a/lib/templates/pattern.js b/lib/templates/pattern.js index c4451cb..7119173 100755 --- a/lib/templates/pattern.js +++ b/lib/templates/pattern.js @@ -1,7 +1,6 @@ /** * init <%= filename %> * @alias <%= filename %> - * @namespace <%= namespace %> * @return {Object} <% if(js){ %>public methods and css bundle<% } %><% if (!js) { %>with css bundle<% } %> */ <% if (scss) { %> diff --git a/lib/templates/pattern.module.scss b/lib/templates/pattern.module.scss index 3367fdf..a94453c 100755 --- a/lib/templates/pattern.module.scss +++ b/lib/templates/pattern.module.scss @@ -3,11 +3,9 @@ */ .<%= classname %> { $-<%= type.charAt(0) %>: &; // A convenient shortcut to use with modifiers #{$-c}. example below - position: relative; - &-ct { - position: relative; - } + // &__ct { + // } // &--mdfClass { // #{$-c}-ct { diff --git a/lib/templates/pattern.ts b/lib/templates/pattern.ts index c071d8d..0fc607e 100644 --- a/lib/templates/pattern.ts +++ b/lib/templates/pattern.ts @@ -1,7 +1,6 @@ /** * init <%= filename %> * @alias <%= filename %> - * @namespace <%= namespace %> * @return {Object} <% if(js){ %>public methods and css bundle<% } %><% if (!js) { %>with css bundle<% } %> */ <% if (js) { %> diff --git a/package.json b/package.json index 43ce58f..0743ec3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jvmn/groundzero-taskrunner-webpack", - "version": "2.4.2", + "version": "2.4.3", "description": "Taskrunner for JvM/Neckar Groundzero projects", "keywords": [ "taskrunner",