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

Commit

Permalink
refactor(mdUtil): minor styling cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rschmukler committed Apr 20, 2015
1 parent 836b438 commit 9edd715
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/core/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ angular.module('material.core')

computeScrollbars(disableStyle);

debugger;
wrapperEl.attr('layout-margin', disableTarget.attr('layout-margin'));

wrapperEl.css({
Expand Down Expand Up @@ -218,14 +217,14 @@ angular.module('material.core')
fakeNgModel: function() {
return {
$fake: true,
$setTouched : angular.noop,
$setTouched: angular.noop,
$setViewValue: function(value) {
this.$viewValue = value;
this.$render(value);
this.$viewChangeListeners.forEach(function(cb) { cb(); });
},
$isEmpty: function(value) {
return (''+value).length === 0;
return ('' + value).length === 0;
},
$parsers: [],
$formatters: [],
Expand Down Expand Up @@ -378,7 +377,7 @@ angular.module('material.core')
* Functional equivalent for $element.filter(‘md-bottom-sheet’)
* useful with interimElements where the element and its container are important...
*/
extractElementByName : function (element, nodeName) {
extractElementByName: function (element, nodeName) {
for (var i = 0, len = element.length; i < len; i++) {
if (element[i].nodeName.toLowerCase() === nodeName){
return angular.element(element[i]);
Expand Down

0 comments on commit 9edd715

Please sign in to comment.