Created
March 28, 2016 15:17
-
-
Save bourroush/4a1361dbc9f872045277 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#L43-48 | |
.col-sm-5.col-sm-offset-1 | |
a ng-href="/#!/products/{{resume.slug}}" | |
img.mtm.mbxxs ng-src="{{resume.thumbnail}}" | |
.clearfix ng-if="resume.name != ''" | |
.c-boldital.c-trail--alt.fl {{resume.name}} | |
.c-boldital.fr ng-if="resume.price != false" ${{resume.price | number: 0}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# L90-92 | |
# Desktop | |
$scope.openDesktopMenu = (item) -> | |
$scope.resetResume(item) | |
# L119-129 | |
$scope.resetResume = (item) -> | |
if item is "skincare" | |
thumbnail = "<%= path_to_asset('build/placeholder/menu/menu-skincare.jpg') %>" | |
else if item is "makeup" | |
thumbnail = "<%= path_to_asset('build/placeholder/menu/menu-makeup.jpg') %>" | |
$scope.resume = | |
name: '' | |
thumbnail: thumbnail | |
excerpt: '' | |
price: false | |
slug: '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment