Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(docs): Build on Windows results in broken docs site
Browse files Browse the repository at this point in the history
Multiline SCSS comments result in ILLEGAL_CHARACTER errors in Chrome when built with Windows.
Removed unused $mdMenu injections in MenuDirective and fixed duplicate offsets variable.

Fixes #4226. Closes #4227.
  • Loading branch information
Splaktar authored and ThomasBurleson committed Aug 19, 2015
1 parent f98e851 commit 35ce9b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var fs = require('fs');
var versionFile = __dirname + '/../dist/commit';

module.exports = {
ngVersion: '1.4.3',
ngVersion: '1.4.4',
version: pkg.version,
repository: pkg.repository.url
.replace(/^git/,'https')
Expand Down
2 changes: 1 addition & 1 deletion src/components/menu/_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ angular.module('material.components.menu', [
*
*/

function MenuDirective($mdMenu) {
function MenuDirective() {
var INVALID_PREFIX = 'Invalid HTML for md-menu: ';
return {
restrict: 'E',
Expand Down
6 changes: 2 additions & 4 deletions src/core/style/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,15 @@
}


/* mixin definition ; sets LTR and RTL within the same style call */
// mixin definition ; sets LTR and RTL within the same style call
@mixin rtl($prop, $value, $rtl-value) {
#{$prop}: $value;
html[dir=rtl] & {
#{$prop}: $rtl-value;
}
}

/**
* Position a FAB button.
*/
// Position a FAB button.
@mixin fab-position($spot, $top: auto, $right: auto, $bottom: auto, $left: auto) {
&.md-fab-#{$spot} {
top: $top;
Expand Down

0 comments on commit 35ce9b8

Please sign in to comment.