| Index: third_party/pkg/angular/lib/directive/ng_show_hide.dart
|
| diff --git a/third_party/pkg/angular/lib/directive/ng_show_hide.dart b/third_party/pkg/angular/lib/directive/ng_show_hide.dart
|
| deleted file mode 100644
|
| index 560cfce76434ca8ddd27bc83536638468104f12c..0000000000000000000000000000000000000000
|
| --- a/third_party/pkg/angular/lib/directive/ng_show_hide.dart
|
| +++ /dev/null
|
| @@ -1,48 +0,0 @@
|
| -part of angular.directive;
|
| -
|
| -/**
|
| - * The ngHide directive shows or hides the given HTML element based on the
|
| - * expression provided to the ngHide attribute. The element is shown or hidden
|
| - * by changing the removing or adding the ng-hide CSS class onto the element.
|
| - */
|
| -@NgDirective(
|
| - selector: '[ng-hide]',
|
| - map: const {'ng-hide': '=>hide'})
|
| -class NgHideDirective {
|
| - static String NG_HIDE_CLASS = 'ng-hide';
|
| -
|
| - final dom.Element element;
|
| -
|
| - NgHideDirective(this.element);
|
| -
|
| - set hide(value) {
|
| - if (toBool(value)) {
|
| - element.classes.add(NG_HIDE_CLASS);
|
| - } else {
|
| - element.classes.remove(NG_HIDE_CLASS);
|
| - }
|
| - }
|
| -}
|
| -
|
| -/**
|
| - * The ngShow directive shows or hides the given HTML element based on the
|
| - * expression provided to the ngHide attribute. The element is shown or hidden
|
| - * by changing the removing or adding the ng-hide CSS class onto the element.
|
| - */
|
| -@NgDirective(
|
| - selector: '[ng-show]',
|
| - map: const {'ng-show': '=>show'})
|
| -class NgShowDirective {
|
| - final dom.Element element;
|
| -
|
| - NgShowDirective(this.element);
|
| -
|
| - set show(value) {
|
| - if (toBool(value)) {
|
| - element.classes.remove(NgHideDirective.NG_HIDE_CLASS);
|
| - } else {
|
| - element.classes.add(NgHideDirective.NG_HIDE_CLASS);
|
| - }
|
| - }
|
| -}
|
| -
|
|
|