@airfleet/generator-init 0.35.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,9 +60,7 @@
60
60
  "body": [
61
61
  "export class ${TM_FILENAME_BASE/([^.]*)(\\..+)*$/${1:/pascalcase}/} {",
62
62
  " initialize() {",
63
- " const { domReady } = window._airfleet.elements.core;",
64
- "",
65
- " domReady(() => {",
63
+ " _af.ready(() => {",
66
64
  " $1",
67
65
  " });",
68
66
  " }",
@@ -183,4 +181,4 @@
183
181
  ],
184
182
  "description": "Bootstrap a Blade template for a partial"
185
183
  }
186
- }
184
+ }
@@ -45,4 +45,6 @@
45
45
  **/README
46
46
  **/README.md
47
47
  README.md
48
+ **/*.md
49
+ *.md
48
50
  **/yarn.lock
@@ -60,9 +60,7 @@
60
60
  "body": [
61
61
  "export class ${TM_FILENAME_BASE/([^.]*)(\\..+)*$/${1:/pascalcase}/} {",
62
62
  " initialize() {",
63
- " const { domReady } = window._airfleet.elements.core;",
64
- "",
65
- " domReady(() => {",
63
+ " _af.ready(() => {",
66
64
  " $1",
67
65
  " });",
68
66
  " }",
@@ -170,4 +168,4 @@
170
168
  ],
171
169
  "description": "Bootstrap a Blade template for a partial"
172
170
  }
173
- }
171
+ }
@@ -34,6 +34,8 @@ CHANGELOG.md
34
34
  LICENSE
35
35
  **/README.md
36
36
  README.md
37
+ **/*.md
38
+ *.md
37
39
  **/.gitignore
38
40
  .gitignore
39
41
  **/package.json
@@ -60,9 +60,7 @@
60
60
  "body": [
61
61
  "export class ${TM_FILENAME_BASE/([^.]*)(\\..+)*$/${1:/pascalcase}/} {",
62
62
  " initialize() {",
63
- " const { domReady } = window._airfleet.elements.core;",
64
- "",
65
- " domReady(() => {",
63
+ " _af.ready(() => {",
66
64
  " $1",
67
65
  " });",
68
66
  " }",
@@ -183,4 +181,4 @@
183
181
  ],
184
182
  "description": "Bootstrap a Blade template for a partial"
185
183
  }
186
- }
184
+ }
@@ -60,9 +60,7 @@
60
60
  "body": [
61
61
  "export class ${TM_FILENAME_BASE/([^.]*)(\\..+)*$/${1:/pascalcase}/} {",
62
62
  " initialize() {",
63
- " const { domReady } = window._airfleet.elements.core;",
64
- "",
65
- " domReady(() => {",
63
+ " _af.ready(() => {",
66
64
  " $1",
67
65
  " });",
68
66
  " }",
@@ -183,4 +181,4 @@
183
181
  ],
184
182
  "description": "Bootstrap a Blade template for a partial"
185
183
  }
186
- }
184
+ }
@@ -1,12 +1,11 @@
1
1
  <%_ if (importStyles) { _%>
2
2
  import './<%= stylesheet %>';
3
3
 
4
- <% } _%>
4
+ <%
5
+ } _%>
5
6
  export class <%= name.pascal %> {
6
7
  initialize() {
7
- const { domReady } = window._airfleet.elements.core;
8
-
9
- domReady(() => {
8
+ _af.ready(() => {
10
9
  // TODO
11
10
  });
12
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airfleet/generator-init",
3
3
  "description": "A Yeoman generator to scaffold common Airfleet features",
4
- "version": "0.35.0",
4
+ "version": "0.37.0",
5
5
  "scripts": {},
6
6
  "publishConfig": {
7
7
  "access": "public"