From e18708f10b04455be151a5a799f0109c34f20a25 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 27 Sep 2017 11:39:30 -0400 Subject: package updates to set up bower correctly #535 --- www/lib/ionic-pullup/.bower.json | 20 -- www/lib/ionic-pullup/.bowerrc | 3 - www/lib/ionic-pullup/.gitignore | 7 - www/lib/ionic-pullup/.jshintrc | 13 -- www/lib/ionic-pullup/.travis.yml | 14 -- www/lib/ionic-pullup/CHANGELOG.md | 16 -- www/lib/ionic-pullup/LICENSE | 22 -- www/lib/ionic-pullup/README.md | 1 - www/lib/ionic-pullup/bower.json | 11 - www/lib/ionic-pullup/dist/ion-pullup.js | 249 --------------------- www/lib/ionic-pullup/example/.bowerrc | 3 - www/lib/ionic-pullup/example/.gitignore | 7 - www/lib/ionic-pullup/example/bower.json | 7 - www/lib/ionic-pullup/example/config.xml | 42 ---- www/lib/ionic-pullup/example/gulpfile.js | 52 ----- www/lib/ionic-pullup/example/hooks/README.md | 83 ------- .../hooks/after_prepare/010_add_platform_class.js | 94 -------- www/lib/ionic-pullup/example/ionic.project | 11 - www/lib/ionic-pullup/example/package.json | 27 --- .../resources/android/icon/drawable-hdpi-icon.png | Bin 2875 -> 0 bytes .../resources/android/icon/drawable-ldpi-icon.png | Bin 1155 -> 0 bytes .../resources/android/icon/drawable-mdpi-icon.png | Bin 1802 -> 0 bytes .../resources/android/icon/drawable-xhdpi-icon.png | Bin 4317 -> 0 bytes .../android/icon/drawable-xxhdpi-icon.png | Bin 7793 -> 0 bytes .../android/icon/drawable-xxxhdpi-icon.png | Bin 11783 -> 0 bytes .../android/splash/drawable-land-hdpi-screen.png | Bin 13657 -> 0 bytes .../android/splash/drawable-land-ldpi-screen.png | Bin 3740 -> 0 bytes .../android/splash/drawable-land-mdpi-screen.png | Bin 7116 -> 0 bytes .../android/splash/drawable-land-xhdpi-screen.png | Bin 39781 -> 0 bytes .../android/splash/drawable-land-xxhdpi-screen.png | Bin 58987 -> 0 bytes .../splash/drawable-land-xxxhdpi-screen.png | Bin 89363 -> 0 bytes .../android/splash/drawable-port-hdpi-screen.png | Bin 13298 -> 0 bytes .../android/splash/drawable-port-ldpi-screen.png | Bin 3628 -> 0 bytes .../android/splash/drawable-port-mdpi-screen.png | Bin 7214 -> 0 bytes .../android/splash/drawable-port-xhdpi-screen.png | Bin 38625 -> 0 bytes .../android/splash/drawable-port-xxhdpi-screen.png | Bin 55504 -> 0 bytes .../splash/drawable-port-xxxhdpi-screen.png | Bin 81831 -> 0 bytes www/lib/ionic-pullup/example/resources/icon.png | Bin 60857 -> 0 bytes .../example/resources/ios/icon/icon-40.png | Bin 1248 -> 0 bytes .../example/resources/ios/icon/icon-40@2x.png | Bin 3564 -> 0 bytes .../example/resources/ios/icon/icon-50.png | Bin 1902 -> 0 bytes .../example/resources/ios/icon/icon-50@2x.png | Bin 4691 -> 0 bytes .../example/resources/ios/icon/icon-60.png | Bin 2452 -> 0 bytes .../example/resources/ios/icon/icon-60@2x.png | Bin 6042 -> 0 bytes .../example/resources/ios/icon/icon-60@3x.png | Bin 10875 -> 0 bytes .../example/resources/ios/icon/icon-72.png | Bin 2866 -> 0 bytes .../example/resources/ios/icon/icon-72@2x.png | Bin 7793 -> 0 bytes .../example/resources/ios/icon/icon-76.png | Bin 3319 -> 0 bytes .../example/resources/ios/icon/icon-76@2x.png | Bin 8305 -> 0 bytes .../example/resources/ios/icon/icon-small.png | Bin 818 -> 0 bytes .../example/resources/ios/icon/icon-small@2x.png | Bin 2287 -> 0 bytes .../example/resources/ios/icon/icon-small@3x.png | Bin 3856 -> 0 bytes .../example/resources/ios/icon/icon.png | Bin 2112 -> 0 bytes .../example/resources/ios/icon/icon@2x.png | Bin 5718 -> 0 bytes .../ios/splash/Default-568h@2x~iphone.png | Bin 31992 -> 0 bytes .../example/resources/ios/splash/Default-667h.png | Bin 40444 -> 0 bytes .../example/resources/ios/splash/Default-736h.png | Bin 45098 -> 0 bytes .../ios/splash/Default-Landscape-736h.png | Bin 44906 -> 0 bytes .../ios/splash/Default-Landscape@2x~ipad.png | Bin 102289 -> 0 bytes .../ios/splash/Default-Landscape~ipad.png | Bin 22655 -> 0 bytes .../ios/splash/Default-Portrait@2x~ipad.png | Bin 99461 -> 0 bytes .../resources/ios/splash/Default-Portrait~ipad.png | Bin 22692 -> 0 bytes .../resources/ios/splash/Default@2x~iphone.png | Bin 18852 -> 0 bytes .../resources/ios/splash/Default~iphone.png | Bin 7214 -> 0 bytes www/lib/ionic-pullup/example/resources/splash.png | Bin 62210 -> 0 bytes www/lib/ionic-pullup/example/scss/ionic.app.scss | 23 -- www/lib/ionic-pullup/example/www/css/style.css | 1 - www/lib/ionic-pullup/example/www/img/ionic.png | Bin 4757 -> 0 bytes www/lib/ionic-pullup/example/www/index.html | 42 ---- www/lib/ionic-pullup/example/www/js/app.js | 85 ------- www/lib/ionic-pullup/example/www/js/controllers.js | 35 --- www/lib/ionic-pullup/example/www/js/ion-pullup.js | 249 --------------------- www/lib/ionic-pullup/example/www/js/services.js | 50 ----- .../example/www/templates/chat-detail.html | 14 -- .../example/www/templates/tab-account.html | 9 - .../example/www/templates/tab-chats.html | 33 --- .../example/www/templates/tab-dash.html | 46 ---- .../ionic-pullup/example/www/templates/tabs.html | 24 -- www/lib/ionic-pullup/karma.conf.js | 33 --- www/lib/ionic-pullup/package.json | 19 -- 80 files changed, 1345 deletions(-) delete mode 100644 www/lib/ionic-pullup/.bower.json delete mode 100644 www/lib/ionic-pullup/.bowerrc delete mode 100644 www/lib/ionic-pullup/.gitignore delete mode 100644 www/lib/ionic-pullup/.jshintrc delete mode 100644 www/lib/ionic-pullup/.travis.yml delete mode 100644 www/lib/ionic-pullup/CHANGELOG.md delete mode 100644 www/lib/ionic-pullup/LICENSE delete mode 100644 www/lib/ionic-pullup/README.md delete mode 100644 www/lib/ionic-pullup/bower.json delete mode 100644 www/lib/ionic-pullup/dist/ion-pullup.js delete mode 100644 www/lib/ionic-pullup/example/.bowerrc delete mode 100644 www/lib/ionic-pullup/example/.gitignore delete mode 100644 www/lib/ionic-pullup/example/bower.json delete mode 100644 www/lib/ionic-pullup/example/config.xml delete mode 100644 www/lib/ionic-pullup/example/gulpfile.js delete mode 100644 www/lib/ionic-pullup/example/hooks/README.md delete mode 100644 www/lib/ionic-pullup/example/hooks/after_prepare/010_add_platform_class.js delete mode 100644 www/lib/ionic-pullup/example/ionic.project delete mode 100644 www/lib/ionic-pullup/example/package.json delete mode 100644 www/lib/ionic-pullup/example/resources/android/icon/drawable-hdpi-icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/icon/drawable-ldpi-icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/icon/drawable-mdpi-icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/icon/drawable-xhdpi-icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/icon/drawable-xxhdpi-icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/icon/drawable-xxxhdpi-icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-land-hdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-land-ldpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-land-mdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-land-xhdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-land-xxhdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-land-xxxhdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-port-hdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-port-ldpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-port-mdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-port-xhdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-port-xxhdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/android/splash/drawable-port-xxxhdpi-screen.png delete mode 100644 www/lib/ionic-pullup/example/resources/icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-40.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-40@2x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-50.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-50@2x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-60.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-60@2x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-60@3x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-72.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-72@2x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-76.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-76@2x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-small.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-small@2x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon-small@3x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/icon/icon@2x.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-568h@2x~iphone.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-667h.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-736h.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-Landscape-736h.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-Landscape@2x~ipad.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-Landscape~ipad.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-Portrait@2x~ipad.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default-Portrait~ipad.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default@2x~iphone.png delete mode 100644 www/lib/ionic-pullup/example/resources/ios/splash/Default~iphone.png delete mode 100644 www/lib/ionic-pullup/example/resources/splash.png delete mode 100644 www/lib/ionic-pullup/example/scss/ionic.app.scss delete mode 100644 www/lib/ionic-pullup/example/www/css/style.css delete mode 100644 www/lib/ionic-pullup/example/www/img/ionic.png delete mode 100644 www/lib/ionic-pullup/example/www/index.html delete mode 100644 www/lib/ionic-pullup/example/www/js/app.js delete mode 100644 www/lib/ionic-pullup/example/www/js/controllers.js delete mode 100644 www/lib/ionic-pullup/example/www/js/ion-pullup.js delete mode 100644 www/lib/ionic-pullup/example/www/js/services.js delete mode 100644 www/lib/ionic-pullup/example/www/templates/chat-detail.html delete mode 100644 www/lib/ionic-pullup/example/www/templates/tab-account.html delete mode 100644 www/lib/ionic-pullup/example/www/templates/tab-chats.html delete mode 100644 www/lib/ionic-pullup/example/www/templates/tab-dash.html delete mode 100644 www/lib/ionic-pullup/example/www/templates/tabs.html delete mode 100644 www/lib/ionic-pullup/karma.conf.js delete mode 100644 www/lib/ionic-pullup/package.json (limited to 'www/lib/ionic-pullup') diff --git a/www/lib/ionic-pullup/.bower.json b/www/lib/ionic-pullup/.bower.json deleted file mode 100644 index c58f829a..00000000 --- a/www/lib/ionic-pullup/.bower.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "ionic-pullup", - "description": "Ionic pull up footer", - "version": "1.0.3", - "homepage": "https://github.com/arielfaur", - "license": "MIT", - "private": false, - "devDependencies": { - "ionic": "~1.0.x" - }, - "_release": "1.0.3", - "_resolution": { - "type": "version", - "tag": "v1.0.3", - "commit": "1124274a57ac0ff7ecc8377a3703fb8e9c350815" - }, - "_source": "https://github.com/arielfaur/ionic-pullup.git", - "_target": "~1.0.2", - "_originalSource": "ionic-pullup" -} \ No newline at end of file diff --git a/www/lib/ionic-pullup/.bowerrc b/www/lib/ionic-pullup/.bowerrc deleted file mode 100644 index baa91a3e..00000000 --- a/www/lib/ionic-pullup/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "bower_components" -} \ No newline at end of file diff --git a/www/lib/ionic-pullup/.gitignore b/www/lib/ionic-pullup/.gitignore deleted file mode 100644 index b702acc6..00000000 --- a/www/lib/ionic-pullup/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -logs/* -!.gitkeep -node_modules/ -bower_components/ -tmp -.DS_Store -.idea \ No newline at end of file diff --git a/www/lib/ionic-pullup/.jshintrc b/www/lib/ionic-pullup/.jshintrc deleted file mode 100644 index 6f00218e..00000000 --- a/www/lib/ionic-pullup/.jshintrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "globalstrict": true, - "globals": { - "angular": false, - "describe": false, - "it": false, - "expect": false, - "beforeEach": false, - "afterEach": false, - "module": false, - "inject": false - } -} \ No newline at end of file diff --git a/www/lib/ionic-pullup/.travis.yml b/www/lib/ionic-pullup/.travis.yml deleted file mode 100644 index cce5c682..00000000 --- a/www/lib/ionic-pullup/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: node_js -node_js: - - "0.10" - -before_script: - - export DISPLAY=:99.0 - - sh -e /etc/init.d/xvfb start - - npm start > /dev/null & - - npm run update-webdriver - - sleep 1 # give server time to start - -script: - - node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox - - node_modules/.bin/protractor e2e-tests/protractor.conf.js --browser=firefox diff --git a/www/lib/ionic-pullup/CHANGELOG.md b/www/lib/ionic-pullup/CHANGELOG.md deleted file mode 100644 index f7f22dcc..00000000 --- a/www/lib/ionic-pullup/CHANGELOG.md +++ /dev/null @@ -1,16 +0,0 @@ -# v1.0.3 -Fixes issue #1 where component height was wrong after changing device orientation - -# v1.0.2 - -## Breaking change -Removed ```minimize``` attribute from ```ion-pull-up-footer``` directive and added two new attributes for better behavior - -- initial-state: "collapsed" || "minimized" -- default-behavior: "expand" || "hide" - -# v1.0.1 -fixed DI issue in ```ion-pull-up-footer``` controller - -# v1.0.0 -Initial release \ No newline at end of file diff --git a/www/lib/ionic-pullup/LICENSE b/www/lib/ionic-pullup/LICENSE deleted file mode 100644 index 9ced3319..00000000 --- a/www/lib/ionic-pullup/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2010-2014 Google, Inc. http://angularjs.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/www/lib/ionic-pullup/README.md b/www/lib/ionic-pullup/README.md deleted file mode 100644 index 5181a87d..00000000 --- a/www/lib/ionic-pullup/README.md +++ /dev/null @@ -1 +0,0 @@ -See project [website](http://arielfaur.github.io/ionic-pullup) for documentation and demo \ No newline at end of file diff --git a/www/lib/ionic-pullup/bower.json b/www/lib/ionic-pullup/bower.json deleted file mode 100644 index debdd33d..00000000 --- a/www/lib/ionic-pullup/bower.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "ionic-pullup", - "description": "Ionic pull up footer", - "version": "1.0.3", - "homepage": "https://github.com/arielfaur", - "license": "MIT", - "private": false, - "devDependencies": { - "ionic": "~1.0.x" - } -} diff --git a/www/lib/ionic-pullup/dist/ion-pullup.js b/www/lib/ionic-pullup/dist/ion-pullup.js deleted file mode 100644 index 30714d0c..00000000 --- a/www/lib/ionic-pullup/dist/ion-pullup.js +++ /dev/null @@ -1,249 +0,0 @@ -angular.module('ionic-pullup', []) - .constant('ionPullUpFooterState', { - COLLAPSED: 'COLLAPSED', - MINIMIZED: 'MINIMIZED', - EXPANDED: 'EXPANDED' - }) - .constant('ionPullUpFooterBehavior', { - HIDE: 'HIDE', - EXPAND: 'EXPAND' - }) - .directive('ionPullUpFooter', ['$timeout', '$rootScope', '$window', '$ionicPlatform', function($timeout, $rootScope, $window, $ionicPlatform) { - return { - restrict: 'AE', - scope: { - onExpand: '&', - onCollapse: '&', - onMinimize: '&' - }, - controller: ['$scope', '$element', '$attrs', 'ionPullUpFooterState', 'ionPullUpFooterBehavior', function($scope, $element, $attrs, FooterState, FooterBehavior) { - var - tabs, hasBottomTabs, header, tabsHeight, headerHeight, handleHeight = 0, - footer = { - height: 0, - posY: 0, - lastPosY: 0, - state: FooterState.COLLAPSED, - defaultHeight : $element[0].offsetHeight, - maxHeight: parseInt($attrs.maxHeight, 10) || 0, - initialState: $attrs.initialState ? $attrs.initialState.toUpperCase() : FooterState.COLLAPSED, - defaultBehavior: $attrs.defaultBehavior ? $attrs.defaultBehavior.toUpperCase() : FooterBehavior.EXPAND - }; - - function init() { - computeDefaultHeights(); - - $element.css({'transition': '300ms ease-in-out', 'padding': 0}); - if (tabs && hasBottomTabs) { - $element.css('bottom', tabs.offsetHeight + 'px'); - } - } - - function computeDefaultHeights() { - tabs = document.querySelector('.tabs'); - hasBottomTabs = document.querySelector('.tabs-bottom'); - header = document.querySelector('.bar-header'); - tabsHeight = tabs ? tabs.offsetHeight : 0; - headerHeight = header ? header.offsetHeight : 0; - } - - function computeHeights() { - footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight; - $element.css({'height': footer.height + 'px'}); - - if (footer.initialState == FooterState.MINIMIZED) { - minimize(); - } else { - collapse(); - } - } - - function updateUI() { - $timeout(function() { - computeHeights(); - }, 300); - } - - function recomputeAllHeights() { - computeDefaultHeights(); - footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight; - } - - function expand() { - // recompute height right here to make sure we have the latest - recomputeAllHeights(); - footer.lastPosY = 0; - // adjust CSS values with new heights in case they changed - $element.css({'height':footer.height + 'px', '-webkit-transform': 'translate3d(0, 0, 0)', 'transform': 'translate3d(0, 0, 0)'}); - $scope.onExpand(); - footer.state = FooterState.EXPANDED; - } - - function collapse() { - footer.lastPosY = (tabs && hasBottomTabs) ? footer.height - tabsHeight : footer.height - footer.defaultHeight; - $element.css({'-webkit-transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)', 'transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)'}); - $scope.onCollapse(); - footer.state = FooterState.COLLAPSED - } - - function minimize() { - footer.lastPosY = footer.height; - $element.css({'-webkit-transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)', 'transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)'}); - $scope.onMinimize(); - footer.state = FooterState.MINIMIZED; - } - - - this.setHandleHeight = function(height) { - handleHeight = height; - computeHeights(); - }; - - this.getHeight = function() { - return $element[0].offsetHeight; - }; - - this.getBackground = function() { - return $window.getComputedStyle($element[0]).background; - }; - - this.onTap = function(e) { - e.gesture.srcEvent.preventDefault(); - e.gesture.preventDefault(); - - if (footer.state == FooterState.COLLAPSED) { - if (footer.defaultBehavior == FooterBehavior.HIDE) { - minimize(); - } else { - expand(); - } - } else { - if (footer.state == FooterState.MINIMIZED) { - if (footer.defaultBehavior == FooterBehavior.HIDE) - collapse(); - else - expand(); - } else { - // footer is expanded - footer.initialState == FooterState.MINIMIZED ? minimize() : collapse(); - } - } - - $rootScope.$broadcast('ionPullUp:tap', footer.state); - }; - - this.onDrag = function(e) { - e.gesture.srcEvent.preventDefault(); - e.gesture.preventDefault(); - - switch (e.type) { - case 'dragstart': - $element.css('transition', 'none'); - break; - case 'drag': - footer.posY = Math.round(e.gesture.deltaY) + footer.lastPosY; - if (footer.posY < 0 || footer.posY > footer.height) return; - $element.css({'-webkit-transform': 'translate3d(0, ' + footer.posY + 'px, 0)', 'transform': 'translate3d(0, ' + footer.posY + 'px, 0)'}); - break; - case 'dragend': - $element.css({'transition': '300ms ease-in-out'}); - footer.lastPosY = footer.posY; - break; - } - }; - - init(); - - $ionicPlatform.ready(function() { - $window.addEventListener('orientationchange', updateUI); - $ionicPlatform.on("resume", updateUI); - }); - - }], - compile: function(element, attrs) { - attrs.defaultHeight && element.css('height', parseInt(attrs.defaultHeight, 10) + 'px'); - element.addClass('bar bar-footer'); - } - } - }]) - .directive('ionPullUpContent', [function() { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - var - footerHeight = controller.getHeight(); - element.css({'display': 'block', 'margin-top': footerHeight + 'px', width: '100%'}); - // add scrolling if needed - if (attrs.scroll && attrs.scroll.toUpperCase() == 'TRUE') { - element.css({'overflow-y': 'scroll', 'overflow-x': 'hidden'}); - } - } - } - }]) - .directive('ionPullUpBar', [function() { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - var - footerHeight = controller.getHeight(); - element.css({'display': 'flex', 'height': footerHeight + 'px', position: 'absolute', right: '0', left: '0'}); - - } - } - }]) - .directive('ionPullUpTrigger', ['$ionicGesture', function($ionicGesture) { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - // add gesture - $ionicGesture.on('tap', controller.onTap, element); - $ionicGesture.on('drag dragstart dragend', controller.onDrag, element); - } - } - }]) - .directive('ionPullUpHandle', ['$ionicGesture', '$ionicPlatform', '$timeout', '$window', function($ionicGesture, $ionicPlatform, $timeout, $window) { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - var height = parseInt(attrs.height,10) || 25, width = parseInt(attrs.width, 10) || 100, - background = controller.getBackground(), - toggleClasses = attrs.toggle; - - controller.setHandleHeight(height); - - element.css({ - display: 'block', - background: background, - position: 'absolute', - top: 1-height + 'px', - left: (($window.innerWidth - width) / 2) + 'px', - height: height + 'px', - width: width + 'px', - 'text-align': 'center' - }); - - // add gesture - $ionicGesture.on('tap', controller.onTap, element); - $ionicGesture.on('drag dragstart dragend', controller.onDrag, element); - - scope.$on('ionPullUp:tap', function() { - element.find('i').toggleClass(toggleClasses); - }); - - function updateUI() { - $timeout(function() { - element.css('left', (($window.innerWidth - width) / 2) + 'px'); - }, 300); - } - - $ionicPlatform.ready(function() { - $window.addEventListener('orientationchange', updateUI); - $ionicPlatform.on("resume", updateUI); - }); - } - } - }]); diff --git a/www/lib/ionic-pullup/example/.bowerrc b/www/lib/ionic-pullup/example/.bowerrc deleted file mode 100644 index e28246d4..00000000 --- a/www/lib/ionic-pullup/example/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "www/lib" -} diff --git a/www/lib/ionic-pullup/example/.gitignore b/www/lib/ionic-pullup/example/.gitignore deleted file mode 100644 index 88d92183..00000000 --- a/www/lib/ionic-pullup/example/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Specifies intentionally untracked files to ignore when using Git -# http://git-scm.com/docs/gitignore - -node_modules/ -platforms/ -plugins/ -www/lib/ \ No newline at end of file diff --git a/www/lib/ionic-pullup/example/bower.json b/www/lib/ionic-pullup/example/bower.json deleted file mode 100644 index 2995b60f..00000000 --- a/www/lib/ionic-pullup/example/bower.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "HelloIonic", - "private": "true", - "devDependencies": { - "ionic": "driftyco/ionic-bower#1.0.1" - } -} diff --git a/www/lib/ionic-pullup/example/config.xml b/www/lib/ionic-pullup/example/config.xml deleted file mode 100644 index b897c8b6..00000000 --- a/www/lib/ionic-pullup/example/config.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - example - - An Ionic Framework and Cordova project. - - - Ionic Framework Team - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/www/lib/ionic-pullup/example/gulpfile.js b/www/lib/ionic-pullup/example/gulpfile.js deleted file mode 100644 index 3efdfc0a..00000000 --- a/www/lib/ionic-pullup/example/gulpfile.js +++ /dev/null @@ -1,52 +0,0 @@ -var gulp = require('gulp'); -var gutil = require('gulp-util'); -var bower = require('bower'); -var concat = require('gulp-concat'); -var sass = require('gulp-sass'); -var minifyCss = require('gulp-minify-css'); -var rename = require('gulp-rename'); -var sh = require('shelljs'); - -var paths = { - sass: ['./scss/**/*.scss'] -}; - -gulp.task('default', ['sass']); - -gulp.task('sass', function(done) { - gulp.src('./scss/ionic.app.scss') - .pipe(sass({ - errLogToConsole: true - })) - .pipe(gulp.dest('./www/css/')) - .pipe(minifyCss({ - keepSpecialComments: 0 - })) - .pipe(rename({ extname: '.min.css' })) - .pipe(gulp.dest('./www/css/')) - .on('end', done); -}); - -gulp.task('watch', function() { - gulp.watch(paths.sass, ['sass']); -}); - -gulp.task('install', ['git-check'], function() { - return bower.commands.install() - .on('log', function(data) { - gutil.log('bower', gutil.colors.cyan(data.id), data.message); - }); -}); - -gulp.task('git-check', function(done) { - if (!sh.which('git')) { - console.log( - ' ' + gutil.colors.red('Git is not installed.'), - '\n Git, the version control system, is required to download Ionic.', - '\n Download git here:', gutil.colors.cyan('http://git-scm.com/downloads') + '.', - '\n Once git is installed, run \'' + gutil.colors.cyan('gulp install') + '\' again.' - ); - process.exit(1); - } - done(); -}); diff --git a/www/lib/ionic-pullup/example/hooks/README.md b/www/lib/ionic-pullup/example/hooks/README.md deleted file mode 100644 index d2563eab..00000000 --- a/www/lib/ionic-pullup/example/hooks/README.md +++ /dev/null @@ -1,83 +0,0 @@ - -# Cordova Hooks - -This directory may contain scripts used to customize cordova commands. This -directory used to exist at `.cordova/hooks`, but has now been moved to the -project root. Any scripts you add to these directories will be executed before -and after the commands corresponding to the directory name. Useful for -integrating your own build systems or integrating with version control systems. - -__Remember__: Make your scripts executable. - -## Hook Directories -The following subdirectories will be used for hooks: - - after_build/ - after_compile/ - after_docs/ - after_emulate/ - after_platform_add/ - after_platform_rm/ - after_platform_ls/ - after_plugin_add/ - after_plugin_ls/ - after_plugin_rm/ - after_plugin_search/ - after_prepare/ - after_run/ - after_serve/ - before_build/ - before_compile/ - before_docs/ - before_emulate/ - before_platform_add/ - before_platform_rm/ - before_platform_ls/ - before_plugin_add/ - before_plugin_ls/ - before_plugin_rm/ - before_plugin_search/ - before_prepare/ - before_run/ - before_serve/ - pre_package/ <-- Windows 8 and Windows Phone only. - -## Script Interface - -All scripts are run from the project's root directory and have the root directory passes as the first argument. All other options are passed to the script using environment variables: - -* CORDOVA_VERSION - The version of the Cordova-CLI. -* CORDOVA_PLATFORMS - Comma separated list of platforms that the command applies to (e.g.: android, ios). -* CORDOVA_PLUGINS - Comma separated list of plugin IDs that the command applies to (e.g.: org.apache.cordova.file, org.apache.cordova.file-transfer) -* CORDOVA_HOOK - Path to the hook that is being executed. -* CORDOVA_CMDLINE - The exact command-line arguments passed to cordova (e.g.: cordova run ios --emulate) - -If a script returns a non-zero exit code, then the parent cordova command will be aborted. - - -## Writing hooks - -We highly recommend writting your hooks using Node.js so that they are -cross-platform. Some good examples are shown here: - -[http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/](http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/) - diff --git a/www/lib/ionic-pullup/example/hooks/after_prepare/010_add_platform_class.js b/www/lib/ionic-pullup/example/hooks/after_prepare/010_add_platform_class.js deleted file mode 100644 index bda3e415..00000000 --- a/www/lib/ionic-pullup/example/hooks/after_prepare/010_add_platform_class.js +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env node - -// Add Platform Class -// v1.0 -// Automatically adds the platform class to the body tag -// after the `prepare` command. By placing the platform CSS classes -// directly in the HTML built for the platform, it speeds up -// rendering the correct layout/style for the specific platform -// instead of waiting for the JS to figure out the correct classes. - -var fs = require('fs'); -var path = require('path'); - -var rootdir = process.argv[2]; - -function addPlatformBodyTag(indexPath, platform) { - // add the platform class to the body tag - try { - var platformClass = 'platform-' + platform; - var cordovaClass = 'platform-cordova platform-webview'; - - var html = fs.readFileSync(indexPath, 'utf8'); - - var bodyTag = findBodyTag(html); - if(!bodyTag) return; // no opening body tag, something's wrong - - if(bodyTag.indexOf(platformClass) > -1) return; // already added - - var newBodyTag = bodyTag; - - var classAttr = findClassAttr(bodyTag); - if(classAttr) { - // body tag has existing class attribute, add the classname - var endingQuote = classAttr.substring(classAttr.length-1); - var newClassAttr = classAttr.substring(0, classAttr.length-1); - newClassAttr += ' ' + platformClass + ' ' + cordovaClass + endingQuote; - newBodyTag = bodyTag.replace(classAttr, newClassAttr); - - } else { - // add class attribute to the body tag - newBodyTag = bodyTag.replace('>', ' class="' + platformClass + ' ' + cordovaClass + '">'); - } - - html = html.replace(bodyTag, newBodyTag); - - fs.writeFileSync(indexPath, html, 'utf8'); - - process.stdout.write('add to body class: ' + platformClass + '\n'); - } catch(e) { - process.stdout.write(e); - } -} - -function findBodyTag(html) { - // get the body tag - try{ - return html.match(/])(.*?)>/gi)[0]; - }catch(e){} -} - -function findClassAttr(bodyTag) { - // get the body tag's class attribute - try{ - return bodyTag.match(/ class=["|'](.*?)["|']/gi)[0]; - }catch(e){} -} - -if (rootdir) { - - // go through each of the platform directories that have been prepared - var platforms = (process.env.CORDOVA_PLATFORMS ? process.env.CORDOVA_PLATFORMS.split(',') : []); - - for(var x=0; x - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/www/lib/ionic-pullup/example/www/js/app.js b/www/lib/ionic-pullup/example/www/js/app.js deleted file mode 100644 index c7c7c5f2..00000000 --- a/www/lib/ionic-pullup/example/www/js/app.js +++ /dev/null @@ -1,85 +0,0 @@ -// Ionic Starter App - -// angular.module is a global place for creating, registering and retrieving Angular modules -// 'starter' is the name of this angular module example (also set in a attribute in index.html) -// the 2nd parameter is an array of 'requires' -// 'starter.services' is found in services.js -// 'starter.controllers' is found in controllers.js -angular.module('starter', ['ionic', 'starter.controllers', 'starter.services', 'ionic-pullup']) - -.run(function($ionicPlatform) { - $ionicPlatform.ready(function() { - // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard - // for form inputs) - if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) { - cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); - cordova.plugins.Keyboard.disableScroll(true); - - } - if (window.StatusBar) { - // org.apache.cordova.statusbar required - StatusBar.styleLightContent(); - } - }); -}) - -.config(function($stateProvider, $urlRouterProvider) { - - // Ionic uses AngularUI Router which uses the concept of states - // Learn more here: https://github.com/angular-ui/ui-router - // Set up the various states which the app can be in. - // Each state's controller can be found in controllers.js - $stateProvider - - // setup an abstract state for the tabs directive - .state('tab', { - url: '/tab', - abstract: true, - templateUrl: 'templates/tabs.html' - }) - - // Each tab has its own nav history stack: - - .state('tab.dash', { - url: '/dash', - views: { - 'tab-dash': { - templateUrl: 'templates/tab-dash.html', - controller: 'DashCtrl' - } - } - }) - - .state('tab.chats', { - url: '/chats', - views: { - 'tab-chats': { - templateUrl: 'templates/tab-chats.html', - controller: 'ChatsCtrl' - } - } - }) - .state('tab.chat-detail', { - url: '/chats/:chatId', - views: { - 'tab-chats': { - templateUrl: 'templates/chat-detail.html', - controller: 'ChatDetailCtrl' - } - } - }) - - .state('tab.account', { - url: '/account', - views: { - 'tab-account': { - templateUrl: 'templates/tab-account.html', - controller: 'AccountCtrl' - } - } - }); - - // if none of the above states are matched, use this as the fallback - $urlRouterProvider.otherwise('/tab/dash'); - -}); diff --git a/www/lib/ionic-pullup/example/www/js/controllers.js b/www/lib/ionic-pullup/example/www/js/controllers.js deleted file mode 100644 index 9a418765..00000000 --- a/www/lib/ionic-pullup/example/www/js/controllers.js +++ /dev/null @@ -1,35 +0,0 @@ -angular.module('starter.controllers', []) - -.controller('DashCtrl', function($scope) { - $scope.footerExpand = function() { - console.log('Footer expanded'); - }; - $scope.footerCollapse = function() { - console.log('Footer collapsed'); - }; - }) - -.controller('ChatsCtrl', function($scope, Chats) { - // With the new view caching in Ionic, Controllers are only called - // when they are recreated or on app start, instead of every page change. - // To listen for when this page is active (for example, to refresh data), - // listen for the $ionicView.enter event: - // - //$scope.$on('$ionicView.enter', function(e) { - //}); - - $scope.chats = Chats.all(); - $scope.remove = function(chat) { - Chats.remove(chat); - }; -}) - -.controller('ChatDetailCtrl', function($scope, $stateParams, Chats) { - $scope.chat = Chats.get($stateParams.chatId); -}) - -.controller('AccountCtrl', function($scope) { - $scope.settings = { - enableFriends: true - }; -}); diff --git a/www/lib/ionic-pullup/example/www/js/ion-pullup.js b/www/lib/ionic-pullup/example/www/js/ion-pullup.js deleted file mode 100644 index 30714d0c..00000000 --- a/www/lib/ionic-pullup/example/www/js/ion-pullup.js +++ /dev/null @@ -1,249 +0,0 @@ -angular.module('ionic-pullup', []) - .constant('ionPullUpFooterState', { - COLLAPSED: 'COLLAPSED', - MINIMIZED: 'MINIMIZED', - EXPANDED: 'EXPANDED' - }) - .constant('ionPullUpFooterBehavior', { - HIDE: 'HIDE', - EXPAND: 'EXPAND' - }) - .directive('ionPullUpFooter', ['$timeout', '$rootScope', '$window', '$ionicPlatform', function($timeout, $rootScope, $window, $ionicPlatform) { - return { - restrict: 'AE', - scope: { - onExpand: '&', - onCollapse: '&', - onMinimize: '&' - }, - controller: ['$scope', '$element', '$attrs', 'ionPullUpFooterState', 'ionPullUpFooterBehavior', function($scope, $element, $attrs, FooterState, FooterBehavior) { - var - tabs, hasBottomTabs, header, tabsHeight, headerHeight, handleHeight = 0, - footer = { - height: 0, - posY: 0, - lastPosY: 0, - state: FooterState.COLLAPSED, - defaultHeight : $element[0].offsetHeight, - maxHeight: parseInt($attrs.maxHeight, 10) || 0, - initialState: $attrs.initialState ? $attrs.initialState.toUpperCase() : FooterState.COLLAPSED, - defaultBehavior: $attrs.defaultBehavior ? $attrs.defaultBehavior.toUpperCase() : FooterBehavior.EXPAND - }; - - function init() { - computeDefaultHeights(); - - $element.css({'transition': '300ms ease-in-out', 'padding': 0}); - if (tabs && hasBottomTabs) { - $element.css('bottom', tabs.offsetHeight + 'px'); - } - } - - function computeDefaultHeights() { - tabs = document.querySelector('.tabs'); - hasBottomTabs = document.querySelector('.tabs-bottom'); - header = document.querySelector('.bar-header'); - tabsHeight = tabs ? tabs.offsetHeight : 0; - headerHeight = header ? header.offsetHeight : 0; - } - - function computeHeights() { - footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight; - $element.css({'height': footer.height + 'px'}); - - if (footer.initialState == FooterState.MINIMIZED) { - minimize(); - } else { - collapse(); - } - } - - function updateUI() { - $timeout(function() { - computeHeights(); - }, 300); - } - - function recomputeAllHeights() { - computeDefaultHeights(); - footer.height = footer.maxHeight > 0 ? footer.maxHeight : $window.innerHeight - headerHeight - handleHeight - tabsHeight; - } - - function expand() { - // recompute height right here to make sure we have the latest - recomputeAllHeights(); - footer.lastPosY = 0; - // adjust CSS values with new heights in case they changed - $element.css({'height':footer.height + 'px', '-webkit-transform': 'translate3d(0, 0, 0)', 'transform': 'translate3d(0, 0, 0)'}); - $scope.onExpand(); - footer.state = FooterState.EXPANDED; - } - - function collapse() { - footer.lastPosY = (tabs && hasBottomTabs) ? footer.height - tabsHeight : footer.height - footer.defaultHeight; - $element.css({'-webkit-transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)', 'transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)'}); - $scope.onCollapse(); - footer.state = FooterState.COLLAPSED - } - - function minimize() { - footer.lastPosY = footer.height; - $element.css({'-webkit-transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)', 'transform': 'translate3d(0, ' + footer.lastPosY + 'px, 0)'}); - $scope.onMinimize(); - footer.state = FooterState.MINIMIZED; - } - - - this.setHandleHeight = function(height) { - handleHeight = height; - computeHeights(); - }; - - this.getHeight = function() { - return $element[0].offsetHeight; - }; - - this.getBackground = function() { - return $window.getComputedStyle($element[0]).background; - }; - - this.onTap = function(e) { - e.gesture.srcEvent.preventDefault(); - e.gesture.preventDefault(); - - if (footer.state == FooterState.COLLAPSED) { - if (footer.defaultBehavior == FooterBehavior.HIDE) { - minimize(); - } else { - expand(); - } - } else { - if (footer.state == FooterState.MINIMIZED) { - if (footer.defaultBehavior == FooterBehavior.HIDE) - collapse(); - else - expand(); - } else { - // footer is expanded - footer.initialState == FooterState.MINIMIZED ? minimize() : collapse(); - } - } - - $rootScope.$broadcast('ionPullUp:tap', footer.state); - }; - - this.onDrag = function(e) { - e.gesture.srcEvent.preventDefault(); - e.gesture.preventDefault(); - - switch (e.type) { - case 'dragstart': - $element.css('transition', 'none'); - break; - case 'drag': - footer.posY = Math.round(e.gesture.deltaY) + footer.lastPosY; - if (footer.posY < 0 || footer.posY > footer.height) return; - $element.css({'-webkit-transform': 'translate3d(0, ' + footer.posY + 'px, 0)', 'transform': 'translate3d(0, ' + footer.posY + 'px, 0)'}); - break; - case 'dragend': - $element.css({'transition': '300ms ease-in-out'}); - footer.lastPosY = footer.posY; - break; - } - }; - - init(); - - $ionicPlatform.ready(function() { - $window.addEventListener('orientationchange', updateUI); - $ionicPlatform.on("resume", updateUI); - }); - - }], - compile: function(element, attrs) { - attrs.defaultHeight && element.css('height', parseInt(attrs.defaultHeight, 10) + 'px'); - element.addClass('bar bar-footer'); - } - } - }]) - .directive('ionPullUpContent', [function() { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - var - footerHeight = controller.getHeight(); - element.css({'display': 'block', 'margin-top': footerHeight + 'px', width: '100%'}); - // add scrolling if needed - if (attrs.scroll && attrs.scroll.toUpperCase() == 'TRUE') { - element.css({'overflow-y': 'scroll', 'overflow-x': 'hidden'}); - } - } - } - }]) - .directive('ionPullUpBar', [function() { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - var - footerHeight = controller.getHeight(); - element.css({'display': 'flex', 'height': footerHeight + 'px', position: 'absolute', right: '0', left: '0'}); - - } - } - }]) - .directive('ionPullUpTrigger', ['$ionicGesture', function($ionicGesture) { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - // add gesture - $ionicGesture.on('tap', controller.onTap, element); - $ionicGesture.on('drag dragstart dragend', controller.onDrag, element); - } - } - }]) - .directive('ionPullUpHandle', ['$ionicGesture', '$ionicPlatform', '$timeout', '$window', function($ionicGesture, $ionicPlatform, $timeout, $window) { - return { - restrict: 'AE', - require: '^ionPullUpFooter', - link: function (scope, element, attrs, controller) { - var height = parseInt(attrs.height,10) || 25, width = parseInt(attrs.width, 10) || 100, - background = controller.getBackground(), - toggleClasses = attrs.toggle; - - controller.setHandleHeight(height); - - element.css({ - display: 'block', - background: background, - position: 'absolute', - top: 1-height + 'px', - left: (($window.innerWidth - width) / 2) + 'px', - height: height + 'px', - width: width + 'px', - 'text-align': 'center' - }); - - // add gesture - $ionicGesture.on('tap', controller.onTap, element); - $ionicGesture.on('drag dragstart dragend', controller.onDrag, element); - - scope.$on('ionPullUp:tap', function() { - element.find('i').toggleClass(toggleClasses); - }); - - function updateUI() { - $timeout(function() { - element.css('left', (($window.innerWidth - width) / 2) + 'px'); - }, 300); - } - - $ionicPlatform.ready(function() { - $window.addEventListener('orientationchange', updateUI); - $ionicPlatform.on("resume", updateUI); - }); - } - } - }]); diff --git a/www/lib/ionic-pullup/example/www/js/services.js b/www/lib/ionic-pullup/example/www/js/services.js deleted file mode 100644 index db975f21..00000000 --- a/www/lib/ionic-pullup/example/www/js/services.js +++ /dev/null @@ -1,50 +0,0 @@ -angular.module('starter.services', []) - -.factory('Chats', function() { - // Might use a resource here that returns a JSON array - - // Some fake testing data - var chats = [{ - id: 0, - name: 'Ben Sparrow', - lastText: 'You on your way?', - face: 'https://pbs.twimg.com/profile_images/514549811765211136/9SgAuHeY.png' - }, { - id: 1, - name: 'Max Lynx', - lastText: 'Hey, it\'s me', - face: 'https://avatars3.githubusercontent.com/u/11214?v=3&s=460' - }, { - id: 2, - name: 'Adam Bradleyson', - lastText: 'I should buy a boat', - face: 'https://pbs.twimg.com/profile_images/479090794058379264/84TKj_qa.jpeg' - }, { - id: 3, - name: 'Perry Governor', - lastText: 'Look at my mukluks!', - face: 'https://pbs.twimg.com/profile_images/598205061232103424/3j5HUXMY.png' - }, { - id: 4, - name: 'Mike Harrington', - lastText: 'This is wicked good ice cream.', - face: 'https://pbs.twimg.com/profile_images/578237281384841216/R3ae1n61.png' - }]; - - return { - all: function() { - return chats; - }, - remove: function(chat) { - chats.splice(chats.indexOf(chat), 1); - }, - get: function(chatId) { - for (var i = 0; i < chats.length; i++) { - if (chats[i].id === parseInt(chatId)) { - return chats[i]; - } - } - return null; - } - }; -}); diff --git a/www/lib/ionic-pullup/example/www/templates/chat-detail.html b/www/lib/ionic-pullup/example/www/templates/chat-detail.html deleted file mode 100644 index e776d022..00000000 --- a/www/lib/ionic-pullup/example/www/templates/chat-detail.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - -

- {{chat.lastText}} -

-
-
diff --git a/www/lib/ionic-pullup/example/www/templates/tab-account.html b/www/lib/ionic-pullup/example/www/templates/tab-account.html deleted file mode 100644 index 2e72f67a..00000000 --- a/www/lib/ionic-pullup/example/www/templates/tab-account.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Enable Friends - - - - diff --git a/www/lib/ionic-pullup/example/www/templates/tab-chats.html b/www/lib/ionic-pullup/example/www/templates/tab-chats.html deleted file mode 100644 index 0c6a88ad..00000000 --- a/www/lib/ionic-pullup/example/www/templates/tab-chats.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - -

{{chat.name}}

-

{{chat.lastText}}

- - - - Delete - -
-
-
- -
More details
- - - - - -
-
Recent Updates
-
-
- There is a fire in sector 3 -
-
-
-
-
-
diff --git a/www/lib/ionic-pullup/example/www/templates/tab-dash.html b/www/lib/ionic-pullup/example/www/templates/tab-dash.html deleted file mode 100644 index 37b688fd..00000000 --- a/www/lib/ionic-pullup/example/www/templates/tab-dash.html +++ /dev/null @@ -1,46 +0,0 @@ - - -
-
Recent Updates
-
-
- There is a fire in sector 3 -
-
-
-
-
Upcoming
- -
-
-
Upcoming
-
-
- You have 29 meetings on your calendar tomorrow. -
-
-
-
- - - - - -

Tap here

- -
- -
-
Recent Updates
-
-
- There is a fire in sector 3 -
-
-
-
-
-
diff --git a/www/lib/ionic-pullup/example/www/templates/tabs.html b/www/lib/ionic-pullup/example/www/templates/tabs.html deleted file mode 100644 index ed615d2c..00000000 --- a/www/lib/ionic-pullup/example/www/templates/tabs.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/www/lib/ionic-pullup/karma.conf.js b/www/lib/ionic-pullup/karma.conf.js deleted file mode 100644 index 44bb29f1..00000000 --- a/www/lib/ionic-pullup/karma.conf.js +++ /dev/null @@ -1,33 +0,0 @@ -module.exports = function(config){ - config.set({ - - basePath : './', - - files : [ - 'app/bower_components/angular/angular.js', - 'app/bower_components/angular-route/angular-route.js', - 'app/bower_components/angular-mocks/angular-mocks.js', - 'app/components/**/*.js', - 'app/view*/**/*.js' - ], - - autoWatch : true, - - frameworks: ['jasmine'], - - browsers : ['Chrome'], - - plugins : [ - 'karma-chrome-launcher', - 'karma-firefox-launcher', - 'karma-jasmine', - 'karma-junit-reporter' - ], - - junitReporter : { - outputFile: 'test_out/unit.xml', - suite: 'unit' - } - - }); -}; diff --git a/www/lib/ionic-pullup/package.json b/www/lib/ionic-pullup/package.json deleted file mode 100644 index cb3e81d9..00000000 --- a/www/lib/ionic-pullup/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "ionic-pullup", - "private": false, - "version": "1.0.3", - "description": "Ionic pull up footer", - "repository": "https://github.com/arielfaur", - "license": "MIT", - "devDependencies": { - "bower": "^1.3.1", - "jasmine-core": "^2.3.4", - "karma": "~0.12", - "karma-chrome-launcher": "^0.1.12", - "karma-firefox-launcher": "^0.1.6", - "karma-jasmine": "^0.3.5", - "karma-junit-reporter": "^0.2.2", - "protractor": "^2.1.0", - "shelljs": "^0.2.6" - } -} -- cgit v1.2.3