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

Commit

Permalink
update(layout): do not remove deprecated layout attribute selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBurleson committed Aug 26, 2015
1 parent 76bc8b9 commit 97a8f6d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/core/services/layout/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@
element.addClass(className + "-" + attr[directive].replace(/\s+/g, "-"));
}

element.removeAttr(className);
// Remove deprecated layout attribute selector
// element.removeAttr(className);
}
}

Expand All @@ -175,7 +176,9 @@
*/
function attributeToClass(scope, element) {
element.addClass(className);
element.removeAttr(className);

// Remove deprecated layout attribute selector
// element.removeAttr(className);
}
}
})();

0 comments on commit 97a8f6d

Please sign in to comment.