Skip to content

Commit

Permalink
basic functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
retog committed Sep 30, 2019
1 parent 3284cc0 commit bd6f60f
Show file tree
Hide file tree
Showing 9 changed files with 7,682 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
lib

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next
Binary file modified README.md
Binary file not shown.
98 changes: 98 additions & 0 deletions dist/taxomplete.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/taxomplete.js.map

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Taxomplete Example</title>
<script src="/taxomplete.js"></script>
</head>
<body>
<label for="species-input">Species</label> <input type="text" id="species-input"/>
<script>
let input = document.getElementById("species-input");
let taxomplete = new Taxomplete(input);
taxomplete.action = function(value) {
alert(value);
}
</script>
</body>
</html>
Loading

0 comments on commit bd6f60f

Please sign in to comment.