Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jade mixin #19

Open
SaidTayebi opened this issue Jan 23, 2015 · 0 comments
Open

Jade mixin #19

SaidTayebi opened this issue Jan 23, 2015 · 0 comments

Comments

@SaidTayebi
Copy link

HI,

How can I include a jade mixin ? I seems that's nor working.
I got this error

Running "jade:compile" (jade) task
File .tmp/app/account/login/login.html created.
File .tmp/app/account/settings/settings.html created.
File .tmp/app/account/signup/signup.html created.
File .tmp/app/admin/admin.html created.
File .tmp/app/main/main.html created.
>> Jade failed to compile "client/app/requests/jade/mixin/requestsTab.jade".
>> TypeError: client/app/requests/jade/mixin/requestsTab.jade:1
>> > 1| mixin requestsTab(tabLabel, filter)
>> 2| md-tab(label=tabLabel)
>> 3| md-item(ng-repeat="request in requests | filter:{status: filter}")
>> 4| div(flex)
>>
>> Object # has no method 'requestsTab'
>> Destination not written because compiled files were empty.
>> Jade failed to compile "client/app/requests/requests.jade".
>> TypeError: client/app/requests/jade/mixin/requestsTab.jade:1
>> > 1| mixin requestsTab(tabLabel, filter)
>> 2| md-tab(label=tabLabel)
>> 3| md-item(ng-repeat="request in requests | filter:{status: filter}")
>> 4| div(flex)
>>
>> Object # has no method 'requestsTab'
>> Destination not written because compiled files were empty.
File .tmp/components/jade/mixin/requestsTab.html created.
File .tmp/components/modal/modal.html created.
File .tmp/components/navbar/navbar.html created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant