You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/03/31 21:22:27 UTC
[10/52] [partial] fix api-url issue
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/BUILD/BUILD.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/BUILD/BUILD.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/BUILD/BUILD.js
deleted file mode 100644
index 2a3aad2..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/BUILD/BUILD.js
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env node
-
-var fs = require('fs'),
- compressor = require('node-minify');
-
-new compressor.minify({
- type: 'gcc',
- fileIn: '../intro.js',
- fileOut: '../minified/intro.min.js',
- callback: function (err) {
- if (err) {
- console.log(err);
- } else {
- console.log("JS minified successfully.");
- }
- }
-});
-
-new compressor.minify({
- type: 'yui-css',
- fileIn: '../introjs.css',
- fileOut: '../minified/introjs.min.css',
- callback: function (err) {
- if (err) {
- console.log(err);
- } else {
- console.log("Main CSS minified successfully.");
- }
- }
-});
-
-new compressor.minify({
- type: 'yui-css',
- fileIn: '../introjs-rtl.css',
- fileOut: '../minified/introjs-rtl.min.css',
- callback: function (err) {
- if (err) {
- console.log(err);
- } else {
- console.log("RTL CSS minified successfully.");
- }
- }
-});
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/Makefile
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/Makefile b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/Makefile
deleted file mode 100644
index f430168..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-BASE = .
-
-build:
- cd BUILD && node BUILD.js
-
-.PHONY: build
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/component.json
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/component.json b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/component.json
deleted file mode 100644
index d1aee3a..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/component.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "name": "intro.js",
- "repo": "usablica/intro.js",
- "description": "Better introductions for websites and features with a step-by-step guide for your projects",
- "version": "0.7.1",
- "main": "intro.js",
- "scripts": [
- "intro.js"
- ],
- "styles": [
- "introjs.css"
- ]
-}
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/intro.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/intro.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/intro.js
deleted file mode 100644
index aa74dd1..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/intro.js
+++ /dev/null
@@ -1,940 +0,0 @@
-/**
- * Intro.js v0.7.1
- * https://github.com/usablica/intro.js
- * MIT licensed
- *
- * Copyright (C) 2013 usabli.ca - A weekend project by Afshin Mehrabani (@afshinmeh)
- */
-
-(function (root, factory) {
- if (typeof exports === 'object') {
- // CommonJS
- factory(exports);
- } else if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['exports'], factory);
- } else {
- // Browser globals
- factory(root);
- }
-} (this, function (exports) {
- //Default config/variables
- var VERSION = '0.7.1';
-
- /**
- * IntroJs main class
- *
- * @class IntroJs
- */
- function IntroJs(obj) {
- this._targetElement = obj;
-
- this._options = {
- /* Next button label in tooltip box */
- nextLabel: 'Next →',
- /* Previous button label in tooltip box */
- prevLabel: '← Back',
- /* Skip button label in tooltip box */
- skipLabel: 'Skip',
- /* Done button label in tooltip box */
- doneLabel: 'Done',
- /* Default tooltip box position */
- tooltipPosition: 'bottom',
- /* Next CSS class for tooltip boxes */
- tooltipClass: '',
- /* Close introduction when pressing Escape button? */
- exitOnEsc: true,
- /* Close introduction when clicking on overlay layer? */
- exitOnOverlayClick: true,
- /* Show step numbers in introduction? */
- showStepNumbers: true,
- /* Let user use keyboard to navigate the tour? */
- keyboardNavigation: true,
- /* Show tour control buttons? */
- showButtons: true,
- /* Show tour bullets? */
- showBullets: true,
- /* Scroll to highlighted element? */
- scrollToElement: true
- };
- }
-
- /**
- * Initiate a new introduction/guide from an element in the page
- *
- * @api private
- * @method _introForElement
- * @param {Object} targetElm
- * @returns {Boolean} Success or not?
- */
- function _introForElement(targetElm) {
- var introItems = [],
- self = this;
-
- if (this._options.steps) {
- //use steps passed programmatically
- var allIntroSteps = [];
-
- for (var i = 0, stepsLength = this._options.steps.length; i < stepsLength; i++) {
- var currentItem = _cloneObject(this._options.steps[i]);
- //set the step
- currentItem.step = introItems.length + 1;
- //use querySelector function only when developer used CSS selector
- if (typeof(currentItem.element) === 'string') {
- //grab the element with given selector from the page
- currentItem.element = document.querySelector(currentItem.element);
- }
-
- if (currentItem.element != null) {
- introItems.push(currentItem);
- }
- }
-
- } else {
- //use steps from data-* annotations
- var allIntroSteps = targetElm.querySelectorAll('*[data-intro]');
- //if there's no element to intro
- if (allIntroSteps.length < 1) {
- return false;
- }
-
- //first add intro items with data-step
- for (var i = 0, elmsLength = allIntroSteps.length; i < elmsLength; i++) {
- var currentElement = allIntroSteps[i];
- var step = parseInt(currentElement.getAttribute('data-step'), 10);
-
- if (step > 0) {
- introItems[step - 1] = {
- element: currentElement,
- intro: currentElement.getAttribute('data-intro'),
- step: parseInt(currentElement.getAttribute('data-step'), 10),
- tooltipClass: currentElement.getAttribute('data-tooltipClass'),
- position: currentElement.getAttribute('data-position') || this._options.tooltipPosition
- };
- }
- }
-
- //next add intro items without data-step
- //todo: we need a cleanup here, two loops are redundant
- var nextStep = 0;
- for (var i = 0, elmsLength = allIntroSteps.length; i < elmsLength; i++) {
- var currentElement = allIntroSteps[i];
-
- if (currentElement.getAttribute('data-step') == null) {
-
- while (true) {
- if (typeof introItems[nextStep] == 'undefined') {
- break;
- } else {
- nextStep++;
- }
- }
-
- introItems[nextStep] = {
- element: currentElement,
- intro: currentElement.getAttribute('data-intro'),
- step: nextStep + 1,
- tooltipClass: currentElement.getAttribute('data-tooltipClass'),
- position: currentElement.getAttribute('data-position') || this._options.tooltipPosition
- };
- }
- }
- }
-
- //removing undefined/null elements
- var tempIntroItems = [];
- for (var z = 0; z < introItems.length; z++) {
- introItems[z] && tempIntroItems.push(introItems[z]); // copy non-empty values to the end of the array
- }
-
- introItems = tempIntroItems;
-
- //Ok, sort all items with given steps
- introItems.sort(function (a, b) {
- return a.step - b.step;
- });
-
- //set it to the introJs object
- self._introItems = introItems;
-
- //add overlay layer to the page
- if(_addOverlayLayer.call(self, targetElm)) {
- //then, start the show
- _nextStep.call(self);
-
- var skipButton = targetElm.querySelector('.introjs-skipbutton'),
- nextStepButton = targetElm.querySelector('.introjs-nextbutton');
-
- self._onKeyDown = function(e) {
- if (e.keyCode === 27 && self._options.exitOnEsc == true) {
- //escape key pressed, exit the intro
- _exitIntro.call(self, targetElm);
- //check if any callback is defined
- if (self._introExitCallback != undefined) {
- self._introExitCallback.call(self);
- }
- } else if(e.keyCode === 37) {
- //left arrow
- _previousStep.call(self);
- } else if (e.keyCode === 39 || e.keyCode === 13) {
- //right arrow or enter
- _nextStep.call(self);
- //prevent default behaviour on hitting Enter, to prevent steps being skipped in some browsers
- if(e.preventDefault) {
- e.preventDefault();
- } else {
- e.returnValue = false;
- }
- }
- };
-
- self._onResize = function(e) {
- _setHelperLayerPosition.call(self, document.querySelector('.introjs-helperLayer'));
- };
-
- if (window.addEventListener) {
- if (this._options.keyboardNavigation) {
- window.addEventListener('keydown', self._onKeyDown, true);
- }
- //for window resize
- window.addEventListener("resize", self._onResize, true);
- } else if (document.attachEvent) { //IE
- if (this._options.keyboardNavigation) {
- document.attachEvent('onkeydown', self._onKeyDown);
- }
- //for window resize
- document.attachEvent("onresize", self._onResize);
- }
- }
- return false;
- }
-
- /*
- * makes a copy of the object
- * @api private
- * @method _cloneObject
- */
- function _cloneObject(object) {
- if (object == null || typeof (object) != 'object' || object.hasOwnProperty("nodeName") === true || typeof (object.nodeType) != 'undefined') {
- return object;
- }
- var temp = {};
- for (var key in object) {
- temp[key] = _cloneObject(object[key]);
- }
- return temp;
- }
- /**
- * Go to specific step of introduction
- *
- * @api private
- * @method _goToStep
- */
- function _goToStep(step) {
- //because steps starts with zero
- this._currentStep = step - 2;
- if (typeof (this._introItems) !== 'undefined') {
- _nextStep.call(this);
- }
- }
-
- /**
- * Go to next step on intro
- *
- * @api private
- * @method _nextStep
- */
- function _nextStep() {
- if (typeof (this._currentStep) === 'undefined') {
- this._currentStep = 0;
- } else {
- ++this._currentStep;
- }
-
- if ((this._introItems.length) <= this._currentStep) {
- //end of the intro
- //check if any callback is defined
- if (typeof (this._introCompleteCallback) === 'function') {
- this._introCompleteCallback.call(this);
- }
- _exitIntro.call(this, this._targetElement);
- return;
- }
-
- var nextStep = this._introItems[this._currentStep];
- if (typeof (this._introBeforeChangeCallback) !== 'undefined') {
- this._introBeforeChangeCallback.call(this, nextStep.element);
- }
-
- _showElement.call(this, nextStep);
- }
-
- /**
- * Go to previous step on intro
- *
- * @api private
- * @method _nextStep
- */
- function _previousStep() {
- if (this._currentStep === 0) {
- return false;
- }
-
- var nextStep = this._introItems[--this._currentStep];
- if (typeof (this._introBeforeChangeCallback) !== 'undefined') {
- this._introBeforeChangeCallback.call(this, nextStep.element);
- }
-
- _showElement.call(this, nextStep);
- }
-
- /**
- * Exit from intro
- *
- * @api private
- * @method _exitIntro
- * @param {Object} targetElement
- */
- function _exitIntro(targetElement) {
- //remove overlay layer from the page
- var overlayLayer = targetElement.querySelector('.introjs-overlay');
- //return if intro already completed or skipped
- if (overlayLayer == null) {
- return;
- }
- //for fade-out animation
- overlayLayer.style.opacity = 0;
- setTimeout(function () {
- if (overlayLayer.parentNode) {
- overlayLayer.parentNode.removeChild(overlayLayer);
- }
- }, 500);
- //remove all helper layers
- var helperLayer = targetElement.querySelector('.introjs-helperLayer');
- if (helperLayer) {
- helperLayer.parentNode.removeChild(helperLayer);
- }
- //remove `introjs-showElement` class from the element
- var showElement = document.querySelector('.introjs-showElement');
- if (showElement) {
- showElement.className = showElement.className.replace(/introjs-[a-zA-Z]+/g, '').replace(/^\s+|\s+$/g, ''); // This is a manual trim.
- }
-
- //remove `introjs-fixParent` class from the elements
- var fixParents = document.querySelectorAll('.introjs-fixParent');
- if (fixParents && fixParents.length > 0) {
- for (var i = fixParents.length - 1; i >= 0; i--) {
- fixParents[i].className = fixParents[i].className.replace(/introjs-fixParent/g, '').replace(/^\s+|\s+$/g, '');
- };
- }
- //clean listeners
- if (window.removeEventListener) {
- window.removeEventListener('keydown', this._onKeyDown, true);
- } else if (document.detachEvent) { //IE
- document.detachEvent('onkeydown', this._onKeyDown);
- }
- //set the step to zero
- this._currentStep = undefined;
- }
-
- /**
- * Render tooltip box in the page
- *
- * @api private
- * @method _placeTooltip
- * @param {Object} targetElement
- * @param {Object} tooltipLayer
- * @param {Object} arrowLayer
- */
- function _placeTooltip(targetElement, tooltipLayer, arrowLayer) {
- //reset the old style
- tooltipLayer.style.top = null;
- tooltipLayer.style.right = null;
- tooltipLayer.style.bottom = null;
- tooltipLayer.style.left = null;
-
- //prevent error when `this._currentStep` is undefined
- if (!this._introItems[this._currentStep]) return;
-
- var tooltipCssClass = '';
-
- //if we have a custom css class for each step
- var currentStepObj = this._introItems[this._currentStep];
- if (typeof (currentStepObj.tooltipClass) === 'string') {
- tooltipCssClass = currentStepObj.tooltipClass;
- } else {
- tooltipCssClass = this._options.tooltipClass;
- }
-
- tooltipLayer.className = ('introjs-tooltip ' + tooltipCssClass).replace(/^\s+|\s+$/g, '');
-
- //custom css class for tooltip boxes
- var tooltipCssClass = this._options.tooltipClass;
-
- var currentTooltipPosition = this._introItems[this._currentStep].position;
- switch (currentTooltipPosition) {
- case 'top':
- tooltipLayer.style.left = '15px';
- tooltipLayer.style.top = '-' + (_getOffset(tooltipLayer).height + 10) + 'px';
- arrowLayer.className = 'introjs-arrow bottom';
- break;
- case 'right':
- tooltipLayer.style.left = (_getOffset(targetElement).width + 20) + 'px';
- arrowLayer.className = 'introjs-arrow left';
- break;
- case 'left':
- if (this._options.showStepNumbers == true) {
- tooltipLayer.style.top = '15px';
- }
- tooltipLayer.style.right = (_getOffset(targetElement).width + 20) + 'px';
- arrowLayer.className = 'introjs-arrow right';
- break;
- case 'bottom':
- // Bottom going to follow the default behavior
- default:
- tooltipLayer.style.bottom = '-' + (_getOffset(tooltipLayer).height + 10) + 'px';
- arrowLayer.className = 'introjs-arrow top';
- break;
- }
- }
-
- /**
- * Update the position of the helper layer on the screen
- *
- * @api private
- * @method _setHelperLayerPosition
- * @param {Object} helperLayer
- */
- function _setHelperLayerPosition(helperLayer) {
- if (helperLayer) {
- //prevent error when `this._currentStep` in undefined
- if (!this._introItems[this._currentStep]) return;
-
- var elementPosition = _getOffset(this._introItems[this._currentStep].element);
- //set new position to helper layer
- helperLayer.setAttribute('style', 'width: ' + (elementPosition.width + 10) + 'px; ' +
- 'height:' + (elementPosition.height + 10) + 'px; ' +
- 'top:' + (elementPosition.top - 5) + 'px;' +
- 'left: ' + (elementPosition.left - 5) + 'px;');
- }
- }
-
- /**
- * Show an element on the page
- *
- * @api private
- * @method _showElement
- * @param {Object} targetElement
- */
- function _showElement(targetElement) {
-
- if (typeof (this._introChangeCallback) !== 'undefined') {
- this._introChangeCallback.call(this, targetElement.element);
- }
-
- var self = this,
- oldHelperLayer = document.querySelector('.introjs-helperLayer'),
- elementPosition = _getOffset(targetElement.element);
-
- if (oldHelperLayer != null) {
- var oldHelperNumberLayer = oldHelperLayer.querySelector('.introjs-helperNumberLayer'),
- oldtooltipLayer = oldHelperLayer.querySelector('.introjs-tooltiptext'),
- oldArrowLayer = oldHelperLayer.querySelector('.introjs-arrow'),
- oldtooltipContainer = oldHelperLayer.querySelector('.introjs-tooltip'),
- skipTooltipButton = oldHelperLayer.querySelector('.introjs-skipbutton'),
- prevTooltipButton = oldHelperLayer.querySelector('.introjs-prevbutton'),
- nextTooltipButton = oldHelperLayer.querySelector('.introjs-nextbutton');
-
- //hide the tooltip
- oldtooltipContainer.style.opacity = 0;
-
- //set new position to helper layer
- _setHelperLayerPosition.call(self, oldHelperLayer);
-
- //remove `introjs-fixParent` class from the elements
- var fixParents = document.querySelectorAll('.introjs-fixParent');
- if (fixParents && fixParents.length > 0) {
- for (var i = fixParents.length - 1; i >= 0; i--) {
- fixParents[i].className = fixParents[i].className.replace(/introjs-fixParent/g, '').replace(/^\s+|\s+$/g, '');
- };
- }
-
- //remove old classes
- var oldShowElement = document.querySelector('.introjs-showElement');
- oldShowElement.className = oldShowElement.className.replace(/introjs-[a-zA-Z]+/g, '').replace(/^\s+|\s+$/g, '');
- //we should wait until the CSS3 transition is competed (it's 0.3 sec) to prevent incorrect `height` and `width` calculation
- if (self._lastShowElementTimer) {
- clearTimeout(self._lastShowElementTimer);
- }
- self._lastShowElementTimer = setTimeout(function() {
- //set current step to the label
- if (oldHelperNumberLayer != null) {
- oldHelperNumberLayer.innerHTML = targetElement.step;
- }
- //set current tooltip text
- oldtooltipLayer.innerHTML = targetElement.intro;
- //set the tooltip position
- _placeTooltip.call(self, targetElement.element, oldtooltipContainer, oldArrowLayer);
-
- //change active bullet
- oldHelperLayer.querySelector('.introjs-bullets li > a.active').className = '';
- oldHelperLayer.querySelector('.introjs-bullets li > a[data-stepnumber="' + targetElement.step + '"]').className = 'active';
-
- //show the tooltip
- oldtooltipContainer.style.opacity = 1;
- }, 350);
-
- } else {
- var helperLayer = document.createElement('div'),
- arrowLayer = document.createElement('div'),
- tooltipLayer = document.createElement('div'),
- tooltipTextLayer = document.createElement('div'),
- bulletsLayer = document.createElement('div'),
- buttonsLayer = document.createElement('div');
-
- helperLayer.className = 'introjs-helperLayer';
-
- //set new position to helper layer
- _setHelperLayerPosition.call(self, helperLayer);
-
- //add helper layer to target element
- this._targetElement.appendChild(helperLayer);
-
- arrowLayer.className = 'introjs-arrow';
-
- tooltipTextLayer.className = 'introjs-tooltiptext';
- tooltipTextLayer.innerHTML = targetElement.intro;
-
- bulletsLayer.className = 'introjs-bullets';
-
- if (this._options.showBullets === false) {
- bulletsLayer.style.display = 'none';
- }
-
- var ulContainer = document.createElement('ul');
-
- for (var i = 0, stepsLength = this._introItems.length; i < stepsLength; i++) {
- var innerLi = document.createElement('li');
- var anchorLink = document.createElement('a');
-
- anchorLink.onclick = function() {
- self.goToStep(this.getAttribute('data-stepnumber'));
- };
-
- if (i === 0) anchorLink.className = "active";
-
- anchorLink.href = 'javascript:void(0);';
- anchorLink.innerHTML = " ";
- anchorLink.setAttribute('data-stepnumber', this._introItems[i].step);
-
- innerLi.appendChild(anchorLink);
- ulContainer.appendChild(innerLi);
- }
-
- bulletsLayer.appendChild(ulContainer);
-
- buttonsLayer.className = 'introjs-tooltipbuttons';
- if (this._options.showButtons === false) {
- buttonsLayer.style.display = 'none';
- }
-
- tooltipLayer.className = 'introjs-tooltip';
- tooltipLayer.appendChild(tooltipTextLayer);
- tooltipLayer.appendChild(bulletsLayer);
-
- //add helper layer number
- if (this._options.showStepNumbers == true) {
- var helperNumberLayer = document.createElement('span');
- helperNumberLayer.className = 'introjs-helperNumberLayer';
- helperNumberLayer.innerHTML = targetElement.step;
- helperLayer.appendChild(helperNumberLayer);
- }
- tooltipLayer.appendChild(arrowLayer);
- helperLayer.appendChild(tooltipLayer);
-
- //next button
- var nextTooltipButton = document.createElement('a');
-
- nextTooltipButton.onclick = function() {
- if (self._introItems.length - 1 != self._currentStep) {
- _nextStep.call(self);
- }
- };
-
- nextTooltipButton.href = 'javascript:void(0);';
- nextTooltipButton.innerHTML = this._options.nextLabel;
-
- //previous button
- var prevTooltipButton = document.createElement('a');
-
- prevTooltipButton.onclick = function() {
- if (self._currentStep != 0) {
- _previousStep.call(self);
- }
- };
-
- prevTooltipButton.href = 'javascript:void(0);';
- prevTooltipButton.innerHTML = this._options.prevLabel;
-
- //skip button
- var skipTooltipButton = document.createElement('a');
- skipTooltipButton.className = 'introjs-button introjs-skipbutton';
- skipTooltipButton.href = 'javascript:void(0);';
- skipTooltipButton.innerHTML = this._options.skipLabel;
-
- skipTooltipButton.onclick = function() {
- if (self._introItems.length - 1 == self._currentStep && typeof (self._introCompleteCallback) === 'function') {
- self._introCompleteCallback.call(self);
- }
-
- if (self._introItems.length - 1 != self._currentStep && typeof (self._introExitCallback) === 'function') {
- self._introExitCallback.call(self);
- }
-
- _exitIntro.call(self, self._targetElement);
- };
-
- buttonsLayer.appendChild(skipTooltipButton);
-
- //in order to prevent displaying next/previous button always
- if (this._introItems.length > 1) {
- buttonsLayer.appendChild(prevTooltipButton);
- buttonsLayer.appendChild(nextTooltipButton);
- }
-
- tooltipLayer.appendChild(buttonsLayer);
-
- //set proper position
- _placeTooltip.call(self, targetElement.element, tooltipLayer, arrowLayer);
- }
-
- if (this._currentStep == 0 && this._introItems.length > 1) {
- prevTooltipButton.className = 'introjs-button introjs-prevbutton introjs-disabled';
- nextTooltipButton.className = 'introjs-button introjs-nextbutton';
- skipTooltipButton.innerHTML = this._options.skipLabel;
- } else if (this._introItems.length - 1 == this._currentStep || this._introItems.length == 1) {
- skipTooltipButton.innerHTML = this._options.doneLabel;
- prevTooltipButton.className = 'introjs-button introjs-prevbutton';
- nextTooltipButton.className = 'introjs-button introjs-nextbutton introjs-disabled';
- } else {
- prevTooltipButton.className = 'introjs-button introjs-prevbutton';
- nextTooltipButton.className = 'introjs-button introjs-nextbutton';
- skipTooltipButton.innerHTML = this._options.skipLabel;
- }
-
- //Set focus on "next" button, so that hitting Enter always moves you onto the next step
- nextTooltipButton.focus();
-
- //add target element position style
- targetElement.element.className += ' introjs-showElement';
-
- var currentElementPosition = _getPropValue(targetElement.element, 'position');
- if (currentElementPosition !== 'absolute' &&
- currentElementPosition !== 'relative') {
- //change to new intro item
- targetElement.element.className += ' introjs-relativePosition';
- }
-
- var parentElm = targetElement.element.parentNode;
- while (parentElm != null) {
- if (parentElm.tagName.toLowerCase() === 'body') break;
-
- //fix The Stacking Contenxt problem.
- //More detail: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Understanding_z_index/The_stacking_context
- var zIndex = _getPropValue(parentElm, 'z-index');
- var opacity = parseFloat(_getPropValue(parentElm, 'opacity'));
- if (/[0-9]+/.test(zIndex) || opacity < 1) {
- parentElm.className += ' introjs-fixParent';
- }
-
- parentElm = parentElm.parentNode;
- }
-
- if (!_elementInViewport(targetElement.element) && this._options.scrollToElement === true) {
- var rect = targetElement.element.getBoundingClientRect(),
- winHeight=_getWinSize().height,
- top = rect.bottom - (rect.bottom - rect.top),
- bottom = rect.bottom - winHeight;
-
- //Scroll up
- if (top < 0 || targetElement.element.clientHeight > winHeight) {
- window.scrollBy(0, top - 30); // 30px padding from edge to look nice
-
- //Scroll down
- } else {
- window.scrollBy(0, bottom + 100); // 70px + 30px padding from edge to look nice
- }
- }
-
- if (typeof (this._introAfterChangeCallback) !== 'undefined') {
- this._introAfterChangeCallback.call(this, targetElement.element);
- }
- }
-
- /**
- * Get an element CSS property on the page
- * Thanks to JavaScript Kit: http://www.javascriptkit.com/dhtmltutors/dhtmlcascade4.shtml
- *
- * @api private
- * @method _getPropValue
- * @param {Object} element
- * @param {String} propName
- * @returns Element's property value
- */
- function _getPropValue (element, propName) {
- var propValue = '';
- if (element.currentStyle) { //IE
- propValue = element.currentStyle[propName];
- } else if (document.defaultView && document.defaultView.getComputedStyle) { //Others
- propValue = document.defaultView.getComputedStyle(element, null).getPropertyValue(propName);
- }
-
- //Prevent exception in IE
- if (propValue && propValue.toLowerCase) {
- return propValue.toLowerCase();
- } else {
- return propValue;
- }
- }
-
- /**
- * Provides a cross-browser way to get the screen dimensions
- * via: http://stackoverflow.com/questions/5864467/internet-explorer-innerheight
- *
- * @api private
- * @method _getWinSize
- * @returns {Object} width and height attributes
- */
- function _getWinSize() {
- if (window.innerWidth != undefined) {
- return { width: window.innerWidth, height: window.innerHeight };
- } else {
- var D = document.documentElement;
- return { width: D.clientWidth, height: D.clientHeight };
- }
- }
-
- /**
- * Add overlay layer to the page
- * http://stackoverflow.com/questions/123999/how-to-tell-if-a-dom-element-is-visible-in-the-current-viewport
- *
- * @api private
- * @method _elementInViewport
- * @param {Object} el
- */
- function _elementInViewport(el) {
- var rect = el.getBoundingClientRect();
-
- return (
- rect.top >= 0 &&
- rect.left >= 0 &&
- (rect.bottom+80) <= window.innerHeight && // add 80 to get the text right
- rect.right <= window.innerWidth
- );
- }
-
- /**
- * Add overlay layer to the page
- *
- * @api private
- * @method _addOverlayLayer
- * @param {Object} targetElm
- */
- function _addOverlayLayer(targetElm) {
- var overlayLayer = document.createElement('div'),
- styleText = '',
- self = this;
-
- //set css class name
- overlayLayer.className = 'introjs-overlay';
-
- //check if the target element is body, we should calculate the size of overlay layer in a better way
- if (targetElm.tagName.toLowerCase() === 'body') {
- styleText += 'top: 0;bottom: 0; left: 0;right: 0;position: fixed;';
- overlayLayer.setAttribute('style', styleText);
- } else {
- //set overlay layer position
- var elementPosition = _getOffset(targetElm);
- if (elementPosition) {
- styleText += 'width: ' + elementPosition.width + 'px; height:' + elementPosition.height + 'px; top:' + elementPosition.top + 'px;left: ' + elementPosition.left + 'px;';
- overlayLayer.setAttribute('style', styleText);
- }
- }
-
- targetElm.appendChild(overlayLayer);
-
- overlayLayer.onclick = function() {
- if (self._options.exitOnOverlayClick == true) {
- _exitIntro.call(self, targetElm);
-
- //check if any callback is defined
- if (self._introExitCallback != undefined) {
- self._introExitCallback.call(self);
- }
- }
- };
-
- setTimeout(function() {
- styleText += 'opacity: .8;';
- overlayLayer.setAttribute('style', styleText);
- }, 10);
- return true;
- }
-
- /**
- * Get an element position on the page
- * Thanks to `meouw`: http://stackoverflow.com/a/442474/375966
- *
- * @api private
- * @method _getOffset
- * @param {Object} element
- * @returns Element's position info
- */
- function _getOffset(element) {
- var elementPosition = {};
-
- //set width
- elementPosition.width = element.offsetWidth;
-
- //set height
- elementPosition.height = element.offsetHeight;
-
- //calculate element top and left
- var _x = 0;
- var _y = 0;
- while (element && !isNaN(element.offsetLeft) && !isNaN(element.offsetTop)) {
- _x += element.offsetLeft;
- _y += element.offsetTop;
- element = element.offsetParent;
- }
- //set top
- elementPosition.top = _y;
- //set left
- elementPosition.left = _x;
-
- return elementPosition;
- }
-
- /**
- * Overwrites obj1's values with obj2's and adds obj2's if non existent in obj1
- * via: http://stackoverflow.com/questions/171251/how-can-i-merge-properties-of-two-javascript-objects-dynamically
- *
- * @param obj1
- * @param obj2
- * @returns obj3 a new object based on obj1 and obj2
- */
- function _mergeOptions(obj1,obj2) {
- var obj3 = {};
- for (var attrname in obj1) { obj3[attrname] = obj1[attrname]; }
- for (var attrname in obj2) { obj3[attrname] = obj2[attrname]; }
- return obj3;
- }
-
- var introJs = function (targetElm) {
- if (typeof (targetElm) === 'object') {
- //Ok, create a new instance
- return new IntroJs(targetElm);
-
- } else if (typeof (targetElm) === 'string') {
- //select the target element with query selector
- var targetElement = document.querySelector(targetElm);
-
- if (targetElement) {
- return new IntroJs(targetElement);
- } else {
- throw new Error('There is no element with given selector.');
- }
- } else {
- return new IntroJs(document.body);
- }
- };
-
- /**
- * Current IntroJs version
- *
- * @property version
- * @type String
- */
- introJs.version = VERSION;
-
- //Prototype
- introJs.fn = IntroJs.prototype = {
- clone: function () {
- return new IntroJs(this);
- },
- setOption: function(option, value) {
- this._options[option] = value;
- return this;
- },
- setOptions: function(options) {
- this._options = _mergeOptions(this._options, options);
- return this;
- },
- start: function () {
- _introForElement.call(this, this._targetElement);
- return this;
- },
- goToStep: function(step) {
- _goToStep.call(this, step);
- return this;
- },
- nextStep: function() {
- _nextStep.call(this);
- return this;
- },
- previousStep: function() {
- _previousStep.call(this);
- return this;
- },
- exit: function() {
- _exitIntro.call(this, this._targetElement);
- },
- refresh: function() {
- _setHelperLayerPosition.call(this, document.querySelector('.introjs-helperLayer'));
- return this;
- },
- onbeforechange: function(providedCallback) {
- if (typeof (providedCallback) === 'function') {
- this._introBeforeChangeCallback = providedCallback;
- } else {
- throw new Error('Provided callback for onbeforechange was not a function');
- }
- return this;
- },
- onchange: function(providedCallback) {
- if (typeof (providedCallback) === 'function') {
- this._introChangeCallback = providedCallback;
- } else {
- throw new Error('Provided callback for onchange was not a function.');
- }
- return this;
- },
- onafterchange: function(providedCallback) {
- if (typeof (providedCallback) === 'function') {
- this._introAfterChangeCallback = providedCallback;
- } else {
- throw new Error('Provided callback for onafterchange was not a function');
- }
- return this;
- },
- oncomplete: function(providedCallback) {
- if (typeof (providedCallback) === 'function') {
- this._introCompleteCallback = providedCallback;
- } else {
- throw new Error('Provided callback for oncomplete was not a function.');
- }
- return this;
- },
- onexit: function(providedCallback) {
- if (typeof (providedCallback) === 'function') {
- this._introExitCallback = providedCallback;
- } else {
- throw new Error('Provided callback for onexit was not a function.');
- }
- return this;
- }
- };
-
- exports.introJs = introJs;
- return introJs;
-}));
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs-rtl.css
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs-rtl.css b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs-rtl.css
deleted file mode 100644
index 0e7fb8a..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs-rtl.css
+++ /dev/null
@@ -1,22 +0,0 @@
-.introjs-tooltipbuttons {
- text-align: left;
-}
-.introjs-skipbutton {
- margin-left: 5px;
-}
-.introjs-tooltip {
- direction: rtl;
-}
-.introjs-prevbutton {
- border: 1px solid #d4d4d4;
- border-left: none;
- -webkit-border-radius: 0 0.2em 0.2em 0;
- -moz-border-radius: 0 0.2em 0.2em 0;
- border-radius: 0 0.2em 0.2em 0;
-}
-.introjs-nextbutton {
- border: 1px solid #d4d4d4;
- -webkit-border-radius: 0.2em 0 0 0.2em;
- -moz-border-radius: 0.2em 0 0 0.2em;
- border-radius: 0.2em 0 0 0.2em;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs.css
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs.css b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs.css
deleted file mode 100644
index e3cda0c..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/introjs.css
+++ /dev/null
@@ -1,248 +0,0 @@
-.introjs-overlay {
- position: absolute;
- z-index: 999999;
- background-color: #000;
- opacity: 0;
- background: -moz-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
- background: -webkit-gradient(radial,center center,0px,center center,100%,color-stop(0%,rgba(0,0,0,0.4)),color-stop(100%,rgba(0,0,0,0.9)));
- background: -webkit-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
- background: -o-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
- background: -ms-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
- background: radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#66000000',endColorstr='#e6000000',GradientType=1);
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
- filter: alpha(opacity=50);
- -webkit-transition: all 0.3s ease-out;
- -moz-transition: all 0.3s ease-out;
- -ms-transition: all 0.3s ease-out;
- -o-transition: all 0.3s ease-out;
- transition: all 0.3s ease-out;
-}
-
-.introjs-fixParent {
- z-index: auto !important;
- opacity: 1.0 !important;
-}
-
-.introjs-showElement {
- z-index: 9999999 !important;
-}
-
-.introjs-relativePosition {
- position: relative;
-}
-
-.introjs-helperLayer {
- position: absolute;
- z-index: 9999998;
- background-color: #FFF;
- background-color: rgba(255,255,255,.9);
- border: 1px solid #777;
- border: 1px solid rgba(0,0,0,.5);
- border-radius: 4px;
- box-shadow: 0 2px 15px rgba(0,0,0,.4);
- -webkit-transition: all 0.3s ease-out;
- -moz-transition: all 0.3s ease-out;
- -ms-transition: all 0.3s ease-out;
- -o-transition: all 0.3s ease-out;
- transition: all 0.3s ease-out;
-}
-
-.introjs-helperNumberLayer {
- position: absolute;
- top: -16px;
- left: -16px;
- z-index: 9999999999 !important;
- padding: 2px;
- font-family: Arial, verdana, tahoma;
- font-size: 13px;
- font-weight: bold;
- color: white;
- text-align: center;
- text-shadow: 1px 1px 1px rgba(0,0,0,.3);
- background: #ff3019; /* Old browsers */
- background: -webkit-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* Chrome10+,Safari5.1+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3019), color-stop(100%, #cf0404)); /* Chrome,Safari4+ */
- background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* FF3.6+ */
- background: -ms-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* IE10+ */
- background: -o-linear-gradient(top, #ff3019 0%, #cf0404 100%); /* Opera 11.10+ */
- background: linear-gradient(to bottom, #ff3019 0%, #cf0404 100%); /* W3C */
- width: 20px;
- height:20px;
- line-height: 20px;
- border: 3px solid white;
- border-radius: 50%;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3019', endColorstr='#cf0404', GradientType=0); /* IE6-9 */
- filter: progid:DXImageTransform.Microsoft.Shadow(direction=135, strength=2, color=ff0000); /* IE10 text shadows */
- box-shadow: 0 2px 5px rgba(0,0,0,.4);
-}
-
-.introjs-arrow {
- border: 5px solid white;
- content:'';
- position: absolute;
-}
-.introjs-arrow.top {
- top: -10px;
- border-top-color:transparent;
- border-right-color:transparent;
- border-bottom-color:white;
- border-left-color:transparent;
-}
-.introjs-arrow.right {
- right: -10px;
- top: 10px;
- border-top-color:transparent;
- border-right-color:transparent;
- border-bottom-color:transparent;
- border-left-color:white;
-}
-.introjs-arrow.bottom {
- bottom: -10px;
- border-top-color:white;
- border-right-color:transparent;
- border-bottom-color:transparent;
- border-left-color:transparent;
-}
-.introjs-arrow.left {
- left: -10px;
- top: 10px;
- border-top-color:transparent;
- border-right-color:white;
- border-bottom-color:transparent;
- border-left-color:transparent;
-}
-
-.introjs-tooltip {
- position: absolute;
- padding: 10px;
- background-color: white;
- min-width: 200px;
- max-width: 300px;
- border-radius: 3px;
- box-shadow: 0 1px 10px rgba(0,0,0,.4);
- -webkit-transition: opacity 0.1s ease-out;
- -moz-transition: opacity 0.1s ease-out;
- -ms-transition: opacity 0.1s ease-out;
- -o-transition: opacity 0.1s ease-out;
- transition: opacity 0.1s ease-out;
-}
-
-.introjs-tooltipbuttons {
- text-align: right;
-}
-
-/*
- Buttons style by http://nicolasgallagher.com/lab/css3-github-buttons/
- Changed by Afshin Mehrabani
-*/
-.introjs-button {
- position: relative;
- overflow: visible;
- display: inline-block;
- padding: 0.3em 0.8em;
- border: 1px solid #d4d4d4;
- margin: 0;
- text-decoration: none;
- text-shadow: 1px 1px 0 #fff;
- font: 11px/normal sans-serif;
- color: #333;
- white-space: nowrap;
- cursor: pointer;
- outline: none;
- background-color: #ececec;
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
- background-image: -moz-linear-gradient(#f4f4f4, #ececec);
- background-image: -o-linear-gradient(#f4f4f4, #ececec);
- background-image: linear-gradient(#f4f4f4, #ececec);
- -webkit-background-clip: padding;
- -moz-background-clip: padding;
- -o-background-clip: padding-box;
- /*background-clip: padding-box;*/ /* commented out due to Opera 11.10 bug */
- -webkit-border-radius: 0.2em;
- -moz-border-radius: 0.2em;
- border-radius: 0.2em;
- /* IE hacks */
- zoom: 1;
- *display: inline;
- margin-top: 10px;
-}
-
-.introjs-button:hover {
- border-color: #bcbcbc;
- text-decoration: none;
- box-shadow: 0px 1px 1px #e3e3e3;
-}
-
-.introjs-button:focus,
-.introjs-button:active {
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ececec), to(#f4f4f4));
- background-image: -moz-linear-gradient(#ececec, #f4f4f4);
- background-image: -o-linear-gradient(#ececec, #f4f4f4);
- background-image: linear-gradient(#ececec, #f4f4f4);
-}
-
-/* overrides extra padding on button elements in Firefox */
-.introjs-button::-moz-focus-inner {
- padding: 0;
- border: 0;
-}
-
-.introjs-skipbutton {
- margin-right: 5px;
- color: #7a7a7a;
-}
-
-.introjs-prevbutton {
- -webkit-border-radius: 0.2em 0 0 0.2em;
- -moz-border-radius: 0.2em 0 0 0.2em;
- border-radius: 0.2em 0 0 0.2em;
- border-right: none;
-}
-
-.introjs-nextbutton {
- -webkit-border-radius: 0 0.2em 0.2em 0;
- -moz-border-radius: 0 0.2em 0.2em 0;
- border-radius: 0 0.2em 0.2em 0;
-}
-
-.introjs-disabled, .introjs-disabled:hover, .introjs-disabled:focus {
- color: #9a9a9a;
- border-color: #d4d4d4;
- box-shadow: none;
- cursor: default;
- background-color: #f4f4f4;
- background-image: none;
- text-decoration: none;
-}
-
-.introjs-bullets {
- text-align: center;
-}
-.introjs-bullets ul {
- clear: both;
- margin: 15px auto 0;
- padding: 0;
- display: inline-block;
-}
-.introjs-bullets ul li {
- list-style: none;
- float: left;
- margin: 0 2px;
-}
-.introjs-bullets ul li a {
- display: block;
- width: 6px;
- height: 6px;
- background: #ccc;
- border-radius: 10px;
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
- text-decoration: none;
-}
-.introjs-bullets ul li a:hover {
- background: #999;
-}
-.introjs-bullets ul li a.active {
- background: #999;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/intro.min.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/intro.min.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/intro.min.js
deleted file mode 100644
index 27dc1fd..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/intro.min.js
+++ /dev/null
@@ -1,24 +0,0 @@
-(function(q,e){"object"===typeof exports?e(exports):"function"===typeof define&&define.amd?define(["exports"],e):e(q)})(this,function(q){function e(a){this._targetElement=a;this._options={nextLabel:"Next →",prevLabel:"← Back",skipLabel:"Skip",doneLabel:"Done",tooltipPosition:"bottom",tooltipClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!0,keyboardNavigation:!0,showButtons:!0,showBullets:!0,scrollToElement:!0}}function s(a){if(null==a||"object"!=typeof a||!0===a.hasOwnProperty("nodeName")||
-"undefined"!=typeof a.nodeType)return a;var b={},c;for(c in a)b[c]=s(a[c]);return b}function t(){"undefined"===typeof this._currentStep?this._currentStep=0:++this._currentStep;if(this._introItems.length<=this._currentStep)"function"===typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),u.call(this,this._targetElement);else{var a=this._introItems[this._currentStep];"undefined"!==typeof this._introBeforeChangeCallback&&this._introBeforeChangeCallback.call(this,a.element);z.call(this,
-a)}}function x(){if(0===this._currentStep)return!1;var a=this._introItems[--this._currentStep];"undefined"!==typeof this._introBeforeChangeCallback&&this._introBeforeChangeCallback.call(this,a.element);z.call(this,a)}function u(a){var b=a.querySelector(".introjs-overlay");if(null!=b){b.style.opacity=0;setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b)},500);(a=a.querySelector(".introjs-helperLayer"))&&a.parentNode.removeChild(a);if(a=document.querySelector(".introjs-showElement"))a.className=
-a.className.replace(/introjs-[a-zA-Z]+/g,"").replace(/^\s+|\s+$/g,"");if((a=document.querySelectorAll(".introjs-fixParent"))&&0<a.length)for(var c=a.length-1;0<=c;c--)a[c].className=a[c].className.replace(/introjs-fixParent/g,"").replace(/^\s+|\s+$/g,"");window.removeEventListener?window.removeEventListener("keydown",this._onKeyDown,!0):document.detachEvent&&document.detachEvent("onkeydown",this._onKeyDown);this._currentStep=void 0}}function A(a,b,c){b.style.top=null;b.style.right=null;b.style.bottom=
-null;b.style.left=null;if(this._introItems[this._currentStep]){var d="",d=this._introItems[this._currentStep],d="string"===typeof d.tooltipClass?d.tooltipClass:this._options.tooltipClass;b.className=("introjs-tooltip "+d).replace(/^\s+|\s+$/g,"");switch(this._introItems[this._currentStep].position){case "top":b.style.left="15px";b.style.top="-"+(p(b).height+10)+"px";c.className="introjs-arrow bottom";break;case "right":b.style.left=p(a).width+20+"px";c.className="introjs-arrow left";break;case "left":!0==
-this._options.showStepNumbers&&(b.style.top="15px");b.style.right=p(a).width+20+"px";c.className="introjs-arrow right";break;default:b.style.bottom="-"+(p(b).height+10)+"px",c.className="introjs-arrow top"}}}function w(a){if(a&&this._introItems[this._currentStep]){var b=p(this._introItems[this._currentStep].element);a.setAttribute("style","width: "+(b.width+10)+"px; height:"+(b.height+10)+"px; top:"+(b.top-5)+"px;left: "+(b.left-5)+"px;")}}function z(a){var b;"undefined"!==typeof this._introChangeCallback&&
-this._introChangeCallback.call(this,a.element);var c=this,d=document.querySelector(".introjs-helperLayer");p(a.element);if(null!=d){var f=d.querySelector(".introjs-helperNumberLayer"),B=d.querySelector(".introjs-tooltiptext"),j=d.querySelector(".introjs-arrow"),n=d.querySelector(".introjs-tooltip"),h=d.querySelector(".introjs-skipbutton"),m=d.querySelector(".introjs-prevbutton"),k=d.querySelector(".introjs-nextbutton");n.style.opacity=0;w.call(c,d);var l=document.querySelectorAll(".introjs-fixParent");
-if(l&&0<l.length)for(b=l.length-1;0<=b;b--)l[b].className=l[b].className.replace(/introjs-fixParent/g,"").replace(/^\s+|\s+$/g,"");b=document.querySelector(".introjs-showElement");b.className=b.className.replace(/introjs-[a-zA-Z]+/g,"").replace(/^\s+|\s+$/g,"");c._lastShowElementTimer&&clearTimeout(c._lastShowElementTimer);c._lastShowElementTimer=setTimeout(function(){null!=f&&(f.innerHTML=a.step);B.innerHTML=a.intro;A.call(c,a.element,n,j);d.querySelector(".introjs-bullets li > a.active").className=
-"";d.querySelector('.introjs-bullets li > a[data-stepnumber="'+a.step+'"]').className="active";n.style.opacity=1},350)}else{var h=document.createElement("div"),l=document.createElement("div"),g=document.createElement("div"),m=document.createElement("div"),k=document.createElement("div"),e=document.createElement("div");h.className="introjs-helperLayer";w.call(c,h);this._targetElement.appendChild(h);l.className="introjs-arrow";m.className="introjs-tooltiptext";m.innerHTML=a.intro;k.className="introjs-bullets";
-!1===this._options.showBullets&&(k.style.display="none");var q=document.createElement("ul");b=0;for(var v=this._introItems.length;b<v;b++){var s=document.createElement("li"),r=document.createElement("a");r.onclick=function(){c.goToStep(this.getAttribute("data-stepnumber"))};0===b&&(r.className="active");r.href="javascript:void(0);";r.innerHTML=" ";r.setAttribute("data-stepnumber",this._introItems[b].step);s.appendChild(r);q.appendChild(s)}k.appendChild(q);e.className="introjs-tooltipbuttons";
-!1===this._options.showButtons&&(e.style.display="none");g.className="introjs-tooltip";g.appendChild(m);g.appendChild(k);!0==this._options.showStepNumbers&&(b=document.createElement("span"),b.className="introjs-helperNumberLayer",b.innerHTML=a.step,h.appendChild(b));g.appendChild(l);h.appendChild(g);k=document.createElement("a");k.onclick=function(){c._introItems.length-1!=c._currentStep&&t.call(c)};k.href="javascript:void(0);";k.innerHTML=this._options.nextLabel;m=document.createElement("a");m.onclick=
-function(){0!=c._currentStep&&x.call(c)};m.href="javascript:void(0);";m.innerHTML=this._options.prevLabel;h=document.createElement("a");h.className="introjs-button introjs-skipbutton";h.href="javascript:void(0);";h.innerHTML=this._options.skipLabel;h.onclick=function(){c._introItems.length-1==c._currentStep&&"function"===typeof c._introCompleteCallback&&c._introCompleteCallback.call(c);c._introItems.length-1!=c._currentStep&&"function"===typeof c._introExitCallback&&c._introExitCallback.call(c);u.call(c,
-c._targetElement)};e.appendChild(h);1<this._introItems.length&&(e.appendChild(m),e.appendChild(k));g.appendChild(e);A.call(c,a.element,g,l)}0==this._currentStep&&1<this._introItems.length?(m.className="introjs-button introjs-prevbutton introjs-disabled",k.className="introjs-button introjs-nextbutton",h.innerHTML=this._options.skipLabel):this._introItems.length-1==this._currentStep||1==this._introItems.length?(h.innerHTML=this._options.doneLabel,m.className="introjs-button introjs-prevbutton",k.className=
-"introjs-button introjs-nextbutton introjs-disabled"):(m.className="introjs-button introjs-prevbutton",k.className="introjs-button introjs-nextbutton",h.innerHTML=this._options.skipLabel);k.focus();a.element.className+=" introjs-showElement";b=y(a.element,"position");"absolute"!==b&&"relative"!==b&&(a.element.className+=" introjs-relativePosition");for(b=a.element.parentNode;null!=b&&"body"!==b.tagName.toLowerCase();){l=y(b,"z-index");g=parseFloat(y(b,"opacity"));if(/[0-9]+/.test(l)||1>g)b.className+=
-" introjs-fixParent";b=b.parentNode}b=a.element.getBoundingClientRect();!(0<=b.top&&0<=b.left&&b.bottom+80<=window.innerHeight&&b.right<=window.innerWidth)&&!0===this._options.scrollToElement&&(g=a.element.getBoundingClientRect(),b=void 0!=window.innerWidth?window.innerHeight:document.documentElement.clientHeight,l=g.bottom-(g.bottom-g.top),g=g.bottom-b,0>l||a.element.clientHeight>b?window.scrollBy(0,l-30):window.scrollBy(0,g+100));"undefined"!==typeof this._introAfterChangeCallback&&this._introAfterChangeCallback.call(this,
-a.element)}function y(a,b){var c="";a.currentStyle?c=a.currentStyle[b]:document.defaultView&&document.defaultView.getComputedStyle&&(c=document.defaultView.getComputedStyle(a,null).getPropertyValue(b));return c&&c.toLowerCase?c.toLowerCase():c}function C(a){var b=document.createElement("div"),c="",d=this;b.className="introjs-overlay";if("body"===a.tagName.toLowerCase())c+="top: 0;bottom: 0; left: 0;right: 0;position: fixed;",b.setAttribute("style",c);else{var f=p(a);f&&(c+="width: "+f.width+"px; height:"+
-f.height+"px; top:"+f.top+"px;left: "+f.left+"px;",b.setAttribute("style",c))}a.appendChild(b);b.onclick=function(){!0==d._options.exitOnOverlayClick&&(u.call(d,a),void 0!=d._introExitCallback&&d._introExitCallback.call(d))};setTimeout(function(){c+="opacity: .8;";b.setAttribute("style",c)},10);return!0}function p(a){var b={};b.width=a.offsetWidth;b.height=a.offsetHeight;for(var c=0,d=0;a&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)c+=a.offsetLeft,d+=a.offsetTop,a=a.offsetParent;b.top=d;b.left=c;
-return b}var v=function(a){if("object"===typeof a)return new e(a);if("string"===typeof a){if(a=document.querySelector(a))return new e(a);throw Error("There is no element with given selector.");}return new e(document.body)};v.version="0.7.1";v.fn=e.prototype={clone:function(){return new e(this)},setOption:function(a,b){this._options[a]=b;return this},setOptions:function(a){var b=this._options,c={},d;for(d in b)c[d]=b[d];for(d in a)c[d]=a[d];this._options=c;return this},start:function(){a:{var a=this._targetElement,
-b=[],c=this;if(this._options.steps)for(var d=[],f=0,d=this._options.steps.length;f<d;f++){var e=s(this._options.steps[f]);e.step=b.length+1;"string"===typeof e.element&&(e.element=document.querySelector(e.element));null!=e.element&&b.push(e)}else{d=a.querySelectorAll("*[data-intro]");if(1>d.length)break a;f=0;for(e=d.length;f<e;f++){var j=d[f],n=parseInt(j.getAttribute("data-step"),10);0<n&&(b[n-1]={element:j,intro:j.getAttribute("data-intro"),step:parseInt(j.getAttribute("data-step"),10),tooltipClass:j.getAttribute("data-tooltipClass"),
-position:j.getAttribute("data-position")||this._options.tooltipPosition})}f=n=0;for(e=d.length;f<e;f++)if(j=d[f],null==j.getAttribute("data-step")){for(;"undefined"!=typeof b[n];)n++;b[n]={element:j,intro:j.getAttribute("data-intro"),step:n+1,tooltipClass:j.getAttribute("data-tooltipClass"),position:j.getAttribute("data-position")||this._options.tooltipPosition}}}f=[];for(d=0;d<b.length;d++)b[d]&&f.push(b[d]);b=f;b.sort(function(a,b){return a.step-b.step});c._introItems=b;C.call(c,a)&&(t.call(c),
-a.querySelector(".introjs-skipbutton"),a.querySelector(".introjs-nextbutton"),c._onKeyDown=function(b){if(27===b.keyCode&&!0==c._options.exitOnEsc)u.call(c,a),void 0!=c._introExitCallback&&c._introExitCallback.call(c);else if(37===b.keyCode)x.call(c);else if(39===b.keyCode||13===b.keyCode)t.call(c),b.preventDefault?b.preventDefault():b.returnValue=!1},c._onResize=function(){w.call(c,document.querySelector(".introjs-helperLayer"))},window.addEventListener?(this._options.keyboardNavigation&&window.addEventListener("keydown",
-c._onKeyDown,!0),window.addEventListener("resize",c._onResize,!0)):document.attachEvent&&(this._options.keyboardNavigation&&document.attachEvent("onkeydown",c._onKeyDown),document.attachEvent("onresize",c._onResize)))}return this},goToStep:function(a){this._currentStep=a-2;"undefined"!==typeof this._introItems&&t.call(this);return this},nextStep:function(){t.call(this);return this},previousStep:function(){x.call(this);return this},exit:function(){u.call(this,this._targetElement)},refresh:function(){w.call(this,
-document.querySelector(".introjs-helperLayer"));return this},onbeforechange:function(a){if("function"===typeof a)this._introBeforeChangeCallback=a;else throw Error("Provided callback for onbeforechange was not a function");return this},onchange:function(a){if("function"===typeof a)this._introChangeCallback=a;else throw Error("Provided callback for onchange was not a function.");return this},onafterchange:function(a){if("function"===typeof a)this._introAfterChangeCallback=a;else throw Error("Provided callback for onafterchange was not a function");
-return this},oncomplete:function(a){if("function"===typeof a)this._introCompleteCallback=a;else throw Error("Provided callback for oncomplete was not a function.");return this},onexit:function(a){if("function"===typeof a)this._introExitCallback=a;else throw Error("Provided callback for onexit was not a function.");return this}};return q.introJs=v});
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs-rtl.min.css
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs-rtl.min.css b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs-rtl.min.css
deleted file mode 100644
index 78fd3a0..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs-rtl.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.introjs-tooltipbuttons{text-align:left}.introjs-skipbutton{margin-left:5px}.introjs-tooltip{direction:rtl}.introjs-prevbutton{border:1px solid #d4d4d4;border-left:0;-webkit-border-radius:0 .2em .2em 0;-moz-border-radius:0 .2em .2em 0;border-radius:0 .2em .2em 0}.introjs-nextbutton{border:1px solid #d4d4d4;-webkit-border-radius:.2em 0 0 .2em;-moz-border-radius:.2em 0 0 .2em;border-radius:.2em 0 0 .2em}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs.min.css
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs.min.css b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs.min.css
deleted file mode 100644
index 6dc15b4..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/minified/introjs.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.introjs-overlay{position:absolute;z-index:999999;background-color:#000;opacity:0;background:-moz-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);background:-webkit-gradient(radial,center center,0px,center center,100%,color-stop(0%,rgba(0,0,0,0.4)),color-stop(100%,rgba(0,0,0,0.9)));background:-webkit-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);background:-o-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);background:-ms-radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);background:radial-gradient(center,ellipse cover,rgba(0,0,0,0.4) 0,rgba(0,0,0,0.9) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#66000000',endColorstr='#e6000000',GradientType=1);-ms-filter:"alpha(opacity=50)";filter:alpha(opacity=50);-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all
.3s ease-out}.introjs-fixParent{z-index:auto !important;opacity:1.0 !important}.introjs-showElement{z-index:9999999 !important}.introjs-relativePosition{position:relative}.introjs-helperLayer{position:absolute;z-index:9999998;background-color:#FFF;background-color:rgba(255,255,255,.9);border:1px solid #777;border:1px solid rgba(0,0,0,.5);border-radius:4px;box-shadow:0 2px 15px rgba(0,0,0,.4);-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.introjs-helperNumberLayer{position:absolute;top:-16px;left:-16px;z-index:9999999999 !important;padding:2px;font-family:Arial,verdana,tahoma;font-size:13px;font-weight:bold;color:white;text-align:center;text-shadow:1px 1px 1px rgba(0,0,0,.3);background:#ff3019;background:-webkit-linear-gradient(top,#ff3019 0,#cf0404 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ff3019),color-stop(100%,#cf0404));background:-
moz-linear-gradient(top,#ff3019 0,#cf0404 100%);background:-ms-linear-gradient(top,#ff3019 0,#cf0404 100%);background:-o-linear-gradient(top,#ff3019 0,#cf0404 100%);background:linear-gradient(to bottom,#ff3019 0,#cf0404 100%);width:20px;height:20px;line-height:20px;border:3px solid white;border-radius:50%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3019',endColorstr='#cf0404',GradientType=0);filter:progid:DXImageTransform.Microsoft.Shadow(direction=135,strength=2,color=ff0000);box-shadow:0 2px 5px rgba(0,0,0,.4)}.introjs-arrow{border:5px solid white;content:'';position:absolute}.introjs-arrow.top{top:-10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:white;border-left-color:transparent}.introjs-arrow.right{right:-10px;top:10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:white}.introjs-arrow.bottom{bottom:-10px;border-top-color:white;border-right-color:transpar
ent;border-bottom-color:transparent;border-left-color:transparent}.introjs-arrow.left{left:-10px;top:10px;border-top-color:transparent;border-right-color:white;border-bottom-color:transparent;border-left-color:transparent}.introjs-tooltip{position:absolute;padding:10px;background-color:white;min-width:200px;max-width:300px;border-radius:3px;box-shadow:0 1px 10px rgba(0,0,0,.4);-webkit-transition:opacity .1s ease-out;-moz-transition:opacity .1s ease-out;-ms-transition:opacity .1s ease-out;-o-transition:opacity .1s ease-out;transition:opacity .1s ease-out}.introjs-tooltipbuttons{text-align:right}.introjs-button{position:relative;overflow:visible;display:inline-block;padding:.3em .8em;border:1px solid #d4d4d4;margin:0;text-decoration:none;text-shadow:1px 1px 0 #fff;font:11px/normal sans-serif;color:#333;white-space:nowrap;cursor:pointer;outline:0;background-color:#ececec;background-image:-webkit-gradient(linear,0 0,0 100%,from(#f4f4f4),to(#ececec));background-image:-moz-linear-gradient
(#f4f4f4,#ececec);background-image:-o-linear-gradient(#f4f4f4,#ececec);background-image:linear-gradient(#f4f4f4,#ececec);-webkit-background-clip:padding;-moz-background-clip:padding;-o-background-clip:padding-box;-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;zoom:1;*display:inline;margin-top:10px}.introjs-button:hover{border-color:#bcbcbc;text-decoration:none;box-shadow:0 1px 1px #e3e3e3}.introjs-button:focus,.introjs-button:active{background-image:-webkit-gradient(linear,0 0,0 100%,from(#ececec),to(#f4f4f4));background-image:-moz-linear-gradient(#ececec,#f4f4f4);background-image:-o-linear-gradient(#ececec,#f4f4f4);background-image:linear-gradient(#ececec,#f4f4f4)}.introjs-button::-moz-focus-inner{padding:0;border:0}.introjs-skipbutton{margin-right:5px;color:#7a7a7a}.introjs-prevbutton{-webkit-border-radius:.2em 0 0 .2em;-moz-border-radius:.2em 0 0 .2em;border-radius:.2em 0 0 .2em;border-right:0}.introjs-nextbutton{-webkit-border-radius:0 .2em .2em 0;-moz-bor
der-radius:0 .2em .2em 0;border-radius:0 .2em .2em 0}.introjs-disabled,.introjs-disabled:hover,.introjs-disabled:focus{color:#9a9a9a;border-color:#d4d4d4;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-bullets{text-align:center}.introjs-bullets ul{clear:both;margin:15px auto 0;padding:0;display:inline-block}.introjs-bullets ul li{list-style:none;float:left;margin:0 2px}.introjs-bullets ul li a{display:block;width:6px;height:6px;background:#ccc;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;text-decoration:none}.introjs-bullets ul li a:hover{background:#999}.introjs-bullets ul li a.active{background:#999}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/package.json
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/package.json b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/package.json
deleted file mode 100644
index c8eb917..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/intro.js/package.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "name": "Intro.js",
- "description": "Better introductions for websites and features with a step-by-step guide for your projects",
- "version": "0.7.1",
- "author": "Afshin Mehrabani <af...@gmail.com>",
- "repository": {
- "type": "git",
- "url": "https://github.com/usablica/intro.js"
- },
- "devDependencies": {
- "node-minify": "*"
- },
- "engine": [
- "node >=0.1.90"
- ],
- "main": "intro.js"
-}
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/README.markdown
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/README.markdown b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/README.markdown
deleted file mode 100644
index 09adba9..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/README.markdown
+++ /dev/null
@@ -1,47 +0,0 @@
-# jQuery Waypoints
-
-Waypoints is a jQuery plugin that makes it easy to execute a function whenever you scroll to an element.
-
-```js
-$('.thing').waypoint(function() {
- alert('You have scrolled to a thing.');
-});
-```
-If you're new to Waypoints, check out the [Get Started](http://imakewebthings.github.com/jquery-waypoints/#get-started) section.
-
-[Read the full documentation](http://imakewebthings.github.com/jquery-waypoints/#docs) for more details on usage and customization.
-
-## Shortcuts
-
-In addition to the normal Waypoints script, extensions exist to make common UI patterns just a little easier to implement:
-
-- [Infinite Scrolling](http://imakewebthings.github.com/jquery-waypoints/shortcuts/infinite-scroll)
-- [Sticky Elements](http://imakewebthings.github.com/jquery-waypoints/shortcuts/sticky-elements)
-
-## Examples
-
-Waypoints can also be used as a base for your own custom UI patterns. Here are a few examples:
-
-- [Scroll Analytics](http://imakewebthings.github.com/jquery-waypoints/examples/scroll-analytics)
-- [Dial Controls](http://imakewebthings.github.com/jquery-waypoints/examples/dial-controls)
-
-## AMD Module Loader Support
-
-If you're using an AMD loader like [RequireJS](http://requirejs.org/), Waypoints registers itself as a named module, `'waypoints'`. Shortcut scripts are anonymous modules.
-
-## Development Environment
-
-If you want to contribute to Waypoints, I love pull requests that include changes to the source `coffee` files as well as the compiled JS and minified files. You can set up the same environment by running `make setup` (which just aliases to `npm install`). This will install the version of CoffeeScript and UglifyJS that I'm using. From there, running `make build` will compile and minify all the necessary files. Test coffee files are compiled on the fly, so compile and minify do not apply to those files.
-
-## License
-
-Copyright (c) 2011-2014 Caleb Troughton
-Licensed under the [MIT license](https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt).
-
-## Support
-
-Unit tests for Waypoints are written with [Jasmine](http://pivotal.github.com/jasmine/) and [jasmine-jquery](https://github.com/velesin/jasmine-jquery). You can [run them here](http://imakewebthings.github.com/jquery-waypoints/test/). If any of the tests fail, please open an issue and include the browser used, operating system, and description of the failed test.
-
-## Donations
-
-[](https://www.gittip.com/imakewebthings/ "Donate weekly to this project using Gittip")
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/package.json
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/package.json b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/package.json
deleted file mode 100644
index f62b20f..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "jquery-waypoints",
- "version": "2.0.4",
- "author": "Caleb Troughton <ca...@imakewebthings.com>",
- "description": "A jQuery plugin that makes it easy to execute a function whenever you scroll to an element.",
- "repository": {
- "type": "git",
- "url": "https://github.com/imakewebthings/jquery-waypoints.git"
- },
- "keywords": [
- "jquery",
- "scroll"
- ],
- "devDependencies": {
- "coffee-script": "1.6.2",
- "uglify-js" : "2.2.5"
- },
- "license": "MIT"
-}
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.js
deleted file mode 100644
index 7c59722..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.js
+++ /dev/null
@@ -1,67 +0,0 @@
-// Generated by CoffeeScript 1.6.2
-/*
-Infinite Scroll Shortcut for jQuery Waypoints - v2.0.4
-Copyright (c) 2011-2014 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
-*/
-
-
-(function() {
- (function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- return define(['jquery', 'waypoints'], factory);
- } else {
- return factory(root.jQuery);
- }
- })(this, function($) {
- var defaults;
-
- defaults = {
- container: 'auto',
- items: '.infinite-item',
- more: '.infinite-more-link',
- offset: 'bottom-in-view',
- loadingClass: 'infinite-loading',
- onBeforePageLoad: $.noop,
- onAfterPageLoad: $.noop
- };
- return $.waypoints('extendFn', 'infinite', function(options) {
- var $container;
-
- options = $.extend({}, $.fn.waypoint.defaults, defaults, options);
- if ($(options.more).length === 0) {
- return this;
- }
- $container = options.container === 'auto' ? this : $(options.container);
- options.handler = function(direction) {
- var $this;
-
- if (direction === 'down' || direction === 'right') {
- $this = $(this);
- options.onBeforePageLoad();
- $this.waypoint('disable');
- $container.addClass(options.loadingClass);
- return $.get($(options.more).attr('href'), function(data) {
- var $data, $more, $newMore;
-
- $data = $($.parseHTML(data));
- $more = $(options.more);
- $newMore = $data.find(options.more);
- $container.append($data.find(options.items));
- $container.removeClass(options.loadingClass);
- if ($newMore.length) {
- $more.replaceWith($newMore);
- $this.waypoint('enable');
- } else {
- $this.waypoint('destroy');
- }
- return options.onAfterPageLoad();
- });
- }
- };
- return this.waypoint(options);
- });
- });
-
-}).call(this);
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.min.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.min.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.min.js
deleted file mode 100644
index 70785d0..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/infinite-scroll/waypoints-infinite.min.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Generated by CoffeeScript 1.6.2
-/*
-Infinite Scroll Shortcut for jQuery Waypoints - v2.0.4
-Copyright (c) 2011-2014 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
-*/
-(function(){(function(n,e){if(typeof define==="function"&&define.amd){return define(["jquery","waypoints"],e)}else{return e(n.jQuery)}})(this,function(n){var e;e={container:"auto",items:".infinite-item",more:".infinite-more-link",offset:"bottom-in-view",loadingClass:"infinite-loading",onBeforePageLoad:n.noop,onAfterPageLoad:n.noop};return n.waypoints("extendFn","infinite",function(i){var t;i=n.extend({},n.fn.waypoint.defaults,e,i);if(n(i.more).length===0){return this}t=i.container==="auto"?this:n(i.container);i.handler=function(e){var o;if(e==="down"||e==="right"){o=n(this);i.onBeforePageLoad();o.waypoint("disable");t.addClass(i.loadingClass);return n.get(n(i.more).attr("href"),function(e){var a,r,f;a=n(n.parseHTML(e));r=n(i.more);f=a.find(i.more);t.append(a.find(i.items));t.removeClass(i.loadingClass);if(f.length){r.replaceWith(f);o.waypoint("enable")}else{o.waypoint("destroy")}return i.onAfterPageLoad()})}};return this.waypoint(i)})})}).call(this);
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.js
deleted file mode 100644
index ceda329..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.js
+++ /dev/null
@@ -1,55 +0,0 @@
-// Generated by CoffeeScript 1.6.2
-/*
-Sticky Elements Shortcut for jQuery Waypoints - v2.0.4
-Copyright (c) 2011-2014 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
-*/
-
-
-(function() {
- (function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- return define(['jquery', 'waypoints'], factory);
- } else {
- return factory(root.jQuery);
- }
- })(this, function($) {
- var defaults, wrap;
-
- defaults = {
- wrapper: '<div class="sticky-wrapper" />',
- stuckClass: 'stuck'
- };
- wrap = function($elements, options) {
- $elements.wrap(options.wrapper);
- return $elements.parent();
- };
- $.waypoints('extendFn', 'sticky', function(opt) {
- var $wrap, options, originalHandler;
-
- options = $.extend({}, $.fn.waypoint.defaults, defaults, opt);
- $wrap = wrap(this, options);
- originalHandler = options.handler;
- options.handler = function(direction) {
- var $sticky, shouldBeStuck;
-
- $sticky = $(this).children(':first');
- shouldBeStuck = direction === 'down' || direction === 'right';
- $sticky.toggleClass(options.stuckClass, shouldBeStuck);
- $wrap.height(shouldBeStuck ? $sticky.outerHeight() : '');
- if (originalHandler != null) {
- return originalHandler.call(this, direction);
- }
- };
- $wrap.waypoint(options);
- return this.data('stuckClass', options.stuckClass);
- });
- return $.waypoints('extendFn', 'unsticky', function() {
- this.parent().waypoint('destroy');
- this.unwrap();
- return this.removeClass(this.data('stuckClass'));
- });
- });
-
-}).call(this);
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7eb23f2c/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.min.js
----------------------------------------------------------------------
diff --git a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.min.js b/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.min.js
deleted file mode 100644
index 3962802..0000000
--- a/portal/dist/appsvc-ui/2.0.2/bower_components/usergrid-portal/portal/dist/appsvc-ui/2.0.1/bower_components/jquery-waypoints/shortcuts/sticky-elements/waypoints-sticky.min.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Generated by CoffeeScript 1.6.2
-/*
-Sticky Elements Shortcut for jQuery Waypoints - v2.0.4
-Copyright (c) 2011-2014 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
-*/
-(function(){(function(t,n){if(typeof define==="function"&&define.amd){return define(["jquery","waypoints"],n)}else{return n(t.jQuery)}})(this,function(t){var n,s;n={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck"};s=function(t,n){t.wrap(n.wrapper);return t.parent()};t.waypoints("extendFn","sticky",function(e){var i,r,a;r=t.extend({},t.fn.waypoint.defaults,n,e);i=s(this,r);a=r.handler;r.handler=function(n){var s,e;s=t(this).children(":first");e=n==="down"||n==="right";s.toggleClass(r.stuckClass,e);i.height(e?s.outerHeight():"");if(a!=null){return a.call(this,n)}};i.waypoint(r);return this.data("stuckClass",r.stuckClass)});return t.waypoints("extendFn","unsticky",function(){this.parent().waypoint("destroy");this.unwrap();return this.removeClass(this.data("stuckClass"))})})}).call(this);
\ No newline at end of file