chore(): remove use of @View

This commit is contained in:
Adam Bradley
2015-10-09 09:15:02 -05:00
parent 9255d473f1
commit 0cac4d9a2e
27 changed files with 134 additions and 337 deletions

View File

@@ -1,4 +1,4 @@
import {Component, View, ElementRef, onInit} from 'angular2/angular2';
import {Component, ElementRef, onInit} from 'angular2/angular2';
import {Ion} from '../ion';
import {IonicConfig} from '../../config/config';
@@ -21,9 +21,12 @@ import * as util from 'ionic/util';
'[class.scroll-x]': 'scrollX',
'[class.scroll-y]': 'scrollY'
},
})
@View({
template: '<scroll-content><div class="scroll-zoom-wrapper"><ng-content></ng-content></div></scroll-content>'
template:
'<scroll-content>' +
'<div class="scroll-zoom-wrapper">' +
'<ng-content></ng-content>' +
'</div>' +
'</scroll-content>'
})
export class Scroll extends Ion {
/**