Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit f07fa15

Browse files
committed
Finished pulling in filters
1 parent 5b65b1d commit f07fa15

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

app/listings/listings.controller.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ import moment from 'moment'
88

99
ListingsCtrl.$inject = ['CONSTANTS', 'logger', '$q',
1010
'TcAuthService', 'UserService', 'UserStatsService', 'ProfileService', 'ChallengeService', 'ExternalAccountService',
11-
'userHandle', 'profile', 'ngDialog', '$anchorScroll'
11+
'ngDialog', '$anchorScroll'
1212
]
1313

14-
function ListingsCtrl(CONSTANTS, logger, $q, TcAuthService, UserService, UserStatsService, ProfileService, ChallengeService, ExternalAccountService, userHandle, profile, ngDialog, $anchorScroll) {
14+
function ListingsCtrl(CONSTANTS, logger, $q, TcAuthService, UserService, UserStatsService, ProfileService, ChallengeService, ExternalAccountService, ngDialog, $anchorScroll) {
1515
var vm = this
16-
// set profile to the object that was resolved
1716

1817
activate()
1918

app/listings/listings.jade

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
h1 Yo
2-
p Helooo
1+
react-component(name="ChallengeFiltersExample")

app/listings/listings.module.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import angular from 'angular'
2+
import React from 'react'
3+
import { ChallengeFiltersExample, TCFooter } from 'appirio-tech-react-components'
24

35
(function() {
46
'use strict'
@@ -14,6 +16,20 @@ import angular from 'angular'
1416
'react'
1517
]
1618

19+
class Foo extends React.Component {
20+
constructor(props) {
21+
super(props)
22+
}
23+
render() {
24+
return React.createElement('p', null, 'Foo')
25+
}
26+
}
27+
window.console.log('STUFFFFFF')
28+
window.console.log(Foo)
29+
window.console.log(ChallengeFiltersExample.default)
30+
1731
angular.module('tc.listings', dependencies)
32+
.value('ChallengeFiltersExample', ChallengeFiltersExample.default)
33+
.value('Foo', Foo)
1834

1935
})()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"appirio-styles": "0.x.x",
5757
"appirio-tech-ng-iso-constants": "^1.0.6",
5858
"appirio-tech-ng-ui-components": "^2.1.2",
59-
"appirio-tech-react-components": "^0.0.12",
59+
"appirio-tech-react-components": "appirio-tech/react-components.git#challenge-filters",
6060
"auth0-angular": "^4.1.0",
6161
"auth0-js": "^6.8.0",
6262
"d3": "^3.5.14",

0 commit comments

Comments
 (0)