Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit d1e1949

Browse files
committed
chore(): remove unused javascript and html from ionic-lab
1 parent b6ff6b4 commit d1e1949

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

bin/ionic-lab.html

-46
Original file line numberDiff line numberDiff line change
@@ -115,55 +115,14 @@
115115
max-width: 100%;
116116
}
117117
</style>
118-
119-
<!-- quick and dirty templating, don't touch this -->
120-
<script>
121-
//INSERT_JSON_HERE;
122-
</script>
123-
124-
<script src="angular.min.js"></script>
125-
<script>
126-
angular.module('app', [])
127-
.directive('preview', function() {
128-
return {
129-
restrict: 'E',
130-
scope: true,
131-
link: function($scope, $element, $attr) {
132-
$scope.screenSizes = [
133-
{ label: 'iPhone 5 (320x568)', size: '320x568' }
134-
];
135-
$scope.screenSize = $scope.screenSizes[0];
136-
}
137-
}
138-
})
139-
.run(['$rootScope', function($rootScope) {
140-
$rootScope.appName = BOOTSTRAP && BOOTSTRAP.appName || null;
141-
$rootScope.title = $rootScope.appName && $rootScope.appName + ' - Ionic App' || 'Ionic App';
142-
}]);
143-
</script>
144-
145118
</head>
146119
<body>
147120
<div id="header-left">
148121
<a target="_blank" href="http://ionicframework.com/" id="logo">
149122
</a>
150123
<span ng-bind="appName"></span>
151124
</div>
152-
<!--
153-
<header id="header">
154-
<a target="_blank" href="http://ionicframework.com/docs/components/">CSS</a>
155-
<a target="_blank" href="http://ionicframework.com/docs/api/">API</a>
156-
<a target="_blank" href="http://forum.ionicframework.com/">Forum</a>
157-
<a target="_blank" href="http://ngcordova.com/">ngCordova</a>
158-
<a target="_blank" href="https://github.com/driftyco/ionic">GitHub</a>
159-
</header>
160-
-->
161125
<preview>
162-
<!--
163-
<div id="choice">
164-
<select ng-model="screenSize" ng-options="s.label for s in screenSizes"></select>
165-
</div>
166-
-->
167126
<div class="phone">
168127
<div id="iphone">
169128
<h2><a href="/?ionicplatform=ios" target="_blank">iOS</a></h2>
@@ -183,11 +142,6 @@ <h2><a href="/?ionicplatform=windows" target="_blank">Windows</a></h2>
183142
</div>
184143
</div>
185144
</preview>
186-
<!--
187-
<a href="http://ionicframework.com/" id="logo">
188-
<img src="http://docs.ionic.io/img/ionic-logo.png">
189-
</a>
190-
-->
191145
<script>
192146
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
193147
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

0 commit comments

Comments
 (0)