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

Commit 35ce9b8

Browse files
SplaktarThomasBurleson
authored andcommitted
fix(docs): Build on Windows results in broken docs site
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.
1 parent f98e851 commit 35ce9b8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

config/build.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var fs = require('fs');
33
var versionFile = __dirname + '/../dist/commit';
44

55
module.exports = {
6-
ngVersion: '1.4.3',
6+
ngVersion: '1.4.4',
77
version: pkg.version,
88
repository: pkg.repository.url
99
.replace(/^git/,'https')

src/components/menu/_menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ angular.module('material.components.menu', [
135135
*
136136
*/
137137

138-
function MenuDirective($mdMenu) {
138+
function MenuDirective() {
139139
var INVALID_PREFIX = 'Invalid HTML for md-menu: ';
140140
return {
141141
restrict: 'E',

src/core/style/mixins.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,15 @@
101101
}
102102

103103

104-
/* mixin definition ; sets LTR and RTL within the same style call */
104+
// mixin definition ; sets LTR and RTL within the same style call
105105
@mixin rtl($prop, $value, $rtl-value) {
106106
#{$prop}: $value;
107107
html[dir=rtl] & {
108108
#{$prop}: $rtl-value;
109109
}
110110
}
111111

112-
/**
113-
* Position a FAB button.
114-
*/
112+
// Position a FAB button.
115113
@mixin fab-position($spot, $top: auto, $right: auto, $bottom: auto, $left: auto) {
116114
&.md-fab-#{$spot} {
117115
top: $top;

0 commit comments

Comments
 (0)