This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
/* way 1: media query inside of the selector */ | |
.error { | |
color: red; | |
@media screen and (max-width: 320px) { | |
color: blue; | |
} |
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.error { | |
color: red; | |
@media screen and (max-width: 320px) { | |
color: blue; | |
} |
This file contains hidden or 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
describe("directive.calculateHeight", function(){ | |
var $scope, | |
element, | |
$element, | |
$compile; | |
beforeEach(function(){ | |
module("retail.navigation-ui", "string-utils"); | |
element = angular.element("<ul calculate-height><li></li></ul>"); |
This file contains hidden or 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
.button { | |
color: red; | |
background: blue; | |
@at-root #{&}--active { | |
color: green; | |
} | |
} | |
This file contains hidden or 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
$icons { | |
search: "\f001"; | |
checkmark: "\f002"; | |
cancel: "\f003"; | |
refresh: "\f004"; | |
} | |
@each $icon, $code in $icons { | |
.icon-#{$icon}:before { | |
content: $code; |
This file contains hidden or 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
.factory("navigation", ["$rootScope", "$state", "experienceService", | |
function navigation($rootScope, $state, experienceService) { | |
var views; | |
$rootScope.stateParams = {}; | |
experienceService.getAsync({}) | |
.then(function(experience) { | |
console.log("experience: ",experience); |
This file contains hidden or 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
(function($){ | |
// private methods | |
var _<#privateMethodName#> = function(){}; | |
// public methods | |
var methods = { | |
init: function(options){ | |
if (this.hasInitialized){ return; } |
NewerOlder