ember-tribe 0.5.2 → 0.5.4

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.
@@ -0,0 +1,17 @@
1
+ import Route from '@ember/routing/route';
2
+ import { service } from '@ember/service';
3
+
4
+ export default class IndexRoute extends Route {
5
+ @service store;
6
+
7
+ async model() {
8
+ //You can use the following after connecting Tribe in config/environment.js
9
+ //For more info https://github.com/wil-ldf-ire/ember-tribe#ember-tribe
10
+
11
+ //findRecord for type+slug pair and findAll all objects in a type
12
+ //return await this.store.findRecord('types_json', 'webapp');
13
+
14
+ //this.store.findAll('film');
15
+ //this.store.query('film', {page: {limit: 2, offset: 0}});
16
+ }
17
+ }
@@ -5,8 +5,11 @@ export default class IndexRoute extends Route {
5
5
  @service store;
6
6
 
7
7
  async model() {
8
- //findRecord for type+slug pair and findAll all objects in a type
9
- return await this.store.findRecord('types_json', 'webapp');
8
+ //You can use the following after connecting Tribe in config/environment.js
9
+ //For more info https://github.com/wil-ldf-ire/ember-tribe#ember-tribe
10
+
11
+ //findRecord for type+slug pair and findAll all objects in a type
12
+ //return await this.store.findRecord('types_json', 'webapp');
10
13
 
11
14
  //this.store.findAll('film');
12
15
  //this.store.query('film', {page: {limit: 2, offset: 0}});
@@ -21,7 +21,7 @@ module.exports = function (defaults) {
21
21
  // along with the exports of each module as its value.
22
22
 
23
23
  app.import('node_modules/bootstrap/dist/js/bootstrap.bundle.min.js');
24
- app.import('node_modules/@fortawesome/fontawesome-pro/css/all.css');
24
+ app.import('node_modules/@fortawesome/fontawesome-pro/js/all.js');
25
25
 
26
26
  app.import('public/assets/css/custom.css');
27
27
  app.import('public/assets/js/custom.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-tribe",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "The default blueprint for using Tribe API within EmberJS.",
5
5
  "keywords": [
6
6
  "ember-addon"