-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,243 changed files
with
357,955 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return window.location; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"../../core" | ||
], function( jQuery ) { | ||
return jQuery.now(); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /\?/ ); | ||
} ); |
5 changes: 5 additions & 0 deletions
5
app/static/bower_components/jquery/src/core/var/rsingleTag.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( function() { | ||
|
||
// Match a standalone tag | ||
return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
15
app/static/bower_components/jquery/src/css/var/getStyles.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
app/static/bower_components/jquery/src/css/var/isHidden.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ); | ||
}; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /^margin/ ); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
18
app/static/bower_components/jquery/src/data/var/acceptData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ); | ||
}; | ||
|
||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"../Data" | ||
], function( Data ) { | ||
return new Data(); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
5
app/static/bower_components/jquery/src/manipulation/var/nodeNames.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
} ); |
3 changes: 3 additions & 0 deletions
3
app/static/bower_components/jquery/src/manipulation/var/rcheckableType.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /^(?:checkbox|radio)$/i ); | ||
} ); |
3 changes: 3 additions & 0 deletions
3
app/static/bower_components/jquery/src/manipulation/var/rleadingWhitespace.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /^\s+/ ); | ||
} ); |
3 changes: 3 additions & 0 deletions
3
app/static/bower_components/jquery/src/manipulation/var/rscriptType.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /^$|\/(?:java|ecma)script/i ); | ||
} ); |
3 changes: 3 additions & 0 deletions
3
app/static/bower_components/jquery/src/manipulation/var/rtagName.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /<([\w:-]+)/ ); | ||
} ); |
20 changes: 20 additions & 0 deletions
20
app/static/bower_components/jquery/src/traversing/var/dir.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
|
||
} ); |
6 changes: 6 additions & 0 deletions
6
app/static/bower_components/jquery/src/traversing/var/rneedsContext.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
15
app/static/bower_components/jquery/src/traversing/var/siblings.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
|
||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return []; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( function() { | ||
|
||
// [[Class]] -> type pairs | ||
return {}; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"./arr" | ||
], function( arr ) { | ||
return arr.concat; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return []; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
5
app/static/bower_components/jquery/src/var/documentElement.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"./document" | ||
], function( document ) { | ||
return document.documentElement; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"./class2type" | ||
], function( class2type ) { | ||
return class2type.hasOwnProperty; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"./arr" | ||
], function( arr ) { | ||
return arr.indexOf; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"./arr" | ||
], function( arr ) { | ||
return arr.push; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ); | ||
|
||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
define( function() { | ||
return ( /\S+/g ); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"./arr" | ||
], function( arr ) { | ||
return arr.slice; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define( [ | ||
"./class2type" | ||
], function( class2type ) { | ||
return class2type.toString; | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.