From 83400033a3b7a91ad072a5d306355c9cd5a80d82 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Fri, 24 Jul 2015 15:48:01 -0400 Subject: integrated event scrubbing with direct image access - need to clean up code --- www/js/angular-circular-navigation.js | 58 ----------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 www/js/angular-circular-navigation.js (limited to 'www/js/angular-circular-navigation.js') diff --git a/www/js/angular-circular-navigation.js b/www/js/angular-circular-navigation.js deleted file mode 100644 index 6f62a9e5..00000000 --- a/www/js/angular-circular-navigation.js +++ /dev/null @@ -1,58 +0,0 @@ -// PP - Modified to show at right angles -/* jshint -W041 */ -/* jslint browser: true*/ -/* global cordova,StatusBar,angular,console */ - -(function () { - - 'use strict'; - - /*global define, module, exports, require */ - - /* istanbul ignore next */ - var angular = window.angular ? window.angular : 'undefined' !== typeof require ? require('angular') : undefined; - - var circular = angular.module('angularCircularNavigation', []) - .directive('circular', ['$compile', function ($compile) { - - return { - restrict: 'EA', - scope: { - options: '=' - }, - template: '' + - '
', - controller: ['$scope', '$element', '$attrs', - function ($scope, $element, $attrs) { - - $scope.toggleMenu = function () { - $scope.options.isOpen = !$scope.options.isOpen; - }; - - $scope.perform = function (options, item) { - if (typeof item.onclick === 'function') { - item.onclick(options, item); - } - - if ($scope.options.toggleOnClick) { - $scope.toggleMenu(); - } - }; - - } - ] - }; - }]); - - /* istanbul ignore next */ - if (typeof define === 'function' && define.amd) { - define('circular', ['angular'], circular); - } else if ('undefined' !== typeof exports && 'undefined' !== typeof module) { - module.exports = circular; - } - -})(); -- cgit v1.2.3