Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshes committed Apr 1, 2016
1 parent c6ddc33 commit 835d1f5
Show file tree
Hide file tree
Showing 1,243 changed files with 357,955 additions and 33 deletions.
34 changes: 1 addition & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,39 +1,7 @@
# Virtualenv
venv
env
.Python
include
lib
# Created by https://www.gitignore.io ### Vim ###
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist *~

# Python Packages
*.egg
*.egg-info
build
sdist
eggs
env
parts
var
develop-eggs
.installed.cfg

# Pip Installer Log
pip-log.txt

# Unit test / coverage
.coverage
.tox

# Mac OS X
.DS_Store

# Generated files
*.[oa]
*.py[co]
*.rbc
.git
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/ajax/var/location.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return window.location;
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/ajax/var/nonce.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"../../core"
], function( jQuery ) {
return jQuery.now();
} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/ajax/var/rquery.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /\?/ );
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/core/var/rsingleTag.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( function() {

// Match a standalone tag
return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ );
} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/css/var/cssExpand.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return [ "Top", "Right", "Bottom", "Left" ];
} );
15 changes: 15 additions & 0 deletions app/static/bower_components/jquery/src/css/var/getStyles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
define( function() {
return function( elem ) {

// Support: IE<=11+, Firefox<=30+ (#15098, #14150)
// IE throws on elements created in popups
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
var view = elem.ownerDocument.defaultView;

if ( !view || !view.opener ) {
view = window;
}

return view.getComputedStyle( elem );
};
} );
16 changes: 16 additions & 0 deletions app/static/bower_components/jquery/src/css/var/isHidden.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
define( [
"../../core",
"../../selector"

// css is assumed
], function( jQuery ) {

return function( elem, el ) {

// isHidden might be called from jQuery#filter function;
// in that case, element will be second argument
elem = el || elem;
return jQuery.css( elem, "display" ) === "none" ||
!jQuery.contains( elem.ownerDocument, elem );
};
} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/css/var/rmargin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /^margin/ );
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/css/var/rnumnonpx.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"../../var/pnum"
], function( pnum ) {
return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
} );
24 changes: 24 additions & 0 deletions app/static/bower_components/jquery/src/css/var/swap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
define( function() {

// A method for quickly swapping in/out CSS properties to get correct calculations.
return function( elem, options, callback, args ) {
var ret, name,
old = {};

// Remember the old values, and insert the new ones
for ( name in options ) {
old[ name ] = elem.style[ name ];
elem.style[ name ] = options[ name ];
}

ret = callback.apply( elem, args || [] );

// Revert the old values
for ( name in options ) {
elem.style[ name ] = old[ name ];
}

return ret;
};

} );
18 changes: 18 additions & 0 deletions app/static/bower_components/jquery/src/data/var/acceptData.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
define( function() {

/**
* Determines whether an object can have data
*/
return function( owner ) {

// Accepts only:
// - Node
// - Node.ELEMENT_NODE
// - Node.DOCUMENT_NODE
// - Object
// - Any
/* jshint -W018 */
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
};

} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/data/var/dataPriv.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"../Data"
], function( Data ) {
return new Data();
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/data/var/dataUser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"../Data"
], function( Data ) {
return new Data();
} );
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( function() {
return "abbr|article|aside|audio|bdi|canvas|data|datalist|" +
"details|dialog|figcaption|figure|footer|header|hgroup|main|" +
"mark|meter|nav|output|picture|progress|section|summary|template|time|video";
} );
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /^(?:checkbox|radio)$/i );
} );
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /^\s+/ );
} );
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /^$|\/(?:java|ecma)script/i );
} );
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /<([\w:-]+)/ );
} );
20 changes: 20 additions & 0 deletions app/static/bower_components/jquery/src/traversing/var/dir.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
define( [
"../../core"
], function( jQuery ) {

return function( elem, dir, until ) {
var matched = [],
truncate = until !== undefined;

while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
if ( elem.nodeType === 1 ) {
if ( truncate && jQuery( elem ).is( until ) ) {
break;
}
matched.push( elem );
}
}
return matched;
};

} );
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
define( [
"../../core",
"../../selector"
], function( jQuery ) {
return jQuery.expr.match.needsContext;
} );
15 changes: 15 additions & 0 deletions app/static/bower_components/jquery/src/traversing/var/siblings.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
define( function() {

return function( n, elem ) {
var matched = [];

for ( ; n; n = n.nextSibling ) {
if ( n.nodeType === 1 && n !== elem ) {
matched.push( n );
}
}

return matched;
};

} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/var/arr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return [];
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/class2type.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( function() {

// [[Class]] -> type pairs
return {};
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/concat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"./arr"
], function( arr ) {
return arr.concat;
} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/var/deletedIds.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return [];
} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/var/document.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return window.document;
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/documentElement.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"./document"
], function( document ) {
return document.documentElement;
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/hasOwn.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"./class2type"
], function( class2type ) {
return class2type.hasOwnProperty;
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/indexOf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"./arr"
], function( arr ) {
return arr.indexOf;
} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/var/pnum.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source;
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/push.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"./arr"
], function( arr ) {
return arr.push;
} );
7 changes: 7 additions & 0 deletions app/static/bower_components/jquery/src/var/rcssNum.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
define( [
"../var/pnum"
], function( pnum ) {

return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );

} );
3 changes: 3 additions & 0 deletions app/static/bower_components/jquery/src/var/rnotwhite.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
define( function() {
return ( /\S+/g );
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/slice.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"./arr"
], function( arr ) {
return arr.slice;
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/support.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( function() {

// All support tests are defined in their respective modules.
return {};
} );
5 changes: 5 additions & 0 deletions app/static/bower_components/jquery/src/var/toString.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
define( [
"./class2type"
], function( class2type ) {
return class2type.toString;
} );
80 changes: 80 additions & 0 deletions venv/bin/activate
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# This file must be used with "source bin/activate" *from bash*
# you cannot run it directly

deactivate () {
unset pydoc

# reset old environment variables
if [ -n "$_OLD_VIRTUAL_PATH" ] ; then
PATH="$_OLD_VIRTUAL_PATH"
export PATH
unset _OLD_VIRTUAL_PATH
fi
if [ -n "$_OLD_VIRTUAL_PYTHONHOME" ] ; then
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
export PYTHONHOME
unset _OLD_VIRTUAL_PYTHONHOME
fi

# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "$BASH" -o -n "$ZSH_VERSION" ] ; then
hash -r 2>/dev/null
fi

if [ -n "$_OLD_VIRTUAL_PS1" ] ; then
PS1="$_OLD_VIRTUAL_PS1"
export PS1
unset _OLD_VIRTUAL_PS1
fi

unset VIRTUAL_ENV
if [ ! "$1" = "nondestructive" ] ; then
# Self destruct!
unset -f deactivate
fi
}

# unset irrelevant variables
deactivate nondestructive

VIRTUAL_ENV="/home/ubuntu/workspace/venv"
export VIRTUAL_ENV

_OLD_VIRTUAL_PATH="$PATH"
PATH="$VIRTUAL_ENV/bin:$PATH"
export PATH

# unset PYTHONHOME if set
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
# could use `if (set -u; : $PYTHONHOME) ;` in bash
if [ -n "$PYTHONHOME" ] ; then
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
unset PYTHONHOME
fi

if [ -z "$VIRTUAL_ENV_DISABLE_PROMPT" ] ; then
_OLD_VIRTUAL_PS1="$PS1"
if [ "x" != x ] ; then
PS1="$PS1"
else
if [ "`basename \"$VIRTUAL_ENV\"`" = "__" ] ; then
# special case for Aspen magic directories
# see http://www.zetadev.com/software/aspen/
PS1="[`basename \`dirname \"$VIRTUAL_ENV\"\``] $PS1"
else
PS1="(`basename \"$VIRTUAL_ENV\"`)$PS1"
fi
fi
export PS1
fi

alias pydoc="python -m pydoc"

# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "$BASH" -o -n "$ZSH_VERSION" ] ; then
hash -r 2>/dev/null
fi
Loading

0 comments on commit 835d1f5

Please sign in to comment.