move playground things

This commit is contained in:
Andrew
2015-03-18 10:56:10 -05:00
parent 4654bcef39
commit 6b37f2c223
9 changed files with 16 additions and 7 deletions

4
.jshintrc Normal file
View File

@@ -0,0 +1,4 @@
{
"esnext": true,
"expr": true
}

View File

@@ -15,7 +15,7 @@ var sass = require('gulp-sass');
var config = {
dist: 'dist',
src: {
js: 'src/**/*.js',
js: ['src/**/*.js', '!src/**/*.spec.js'],
html: 'src/**/*.html',
playgroundJs: 'playground/**/*.js',
playgroundFiles: ['playground/**/*', '!playground/**/*.js'],

View File

@@ -1,5 +1,3 @@
<ion-tabbar view-title="My Tabs"></ion-tabbar>
<ion-tabbar view-title="Tabs 2"></ion-tabbar>
<ion-tabbar view-title="Tabs 3"></ion-tabbar>
<ion-tabbar view-title="Tabs 4"></ion-tabbar>
<ion-tabbar view-title="Tabs 5"></ion-tabbar>

View File

@@ -11,4 +11,4 @@ import 'ionic/components/tabbar/mixins/android/android-tabbar';
})
class PlaygroundMain {}
bootstrap(PlaygroundMain);
bootstrap(PlaygroundMain)

View File

@@ -0,0 +1,7 @@
import {Component, Template} from 'angular2/angular2';
import {ViewGroup} from '../view-group';
class Sidemenu extends ViewGroup {
constructor() {
}
}

View File

View File

View File

@@ -1,12 +1,12 @@
import {TabbarConfig} from '../../tabbar';
// import {Draggable} from '/behaviors/draggable';
// import {Draggable} from '/behaviors/draggable'
TabbarConfig.platform('android')
.template('./android-template.html')
.mixin(function(tabbar) {
// Draggable(tabbar);
// tabbarInstance.setAsHeader();
// Draggable(tabbar)
// tabbarInstance.setAsHeader()
tabbar.assign({
press() {