Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.0.0 #34

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
53a2647
WIP: Began reimplementation in ES6
cmbankester Sep 11, 2015
3a798e7
Added index.html, finished initial ES6 migration
cmbankester Sep 18, 2015
7c94e99
Added better npm script announcements; worked on demo page
cmbankester Oct 19, 2015
2dac2d1
Switched from webpack to rollup
cmbankester Nov 29, 2015
981c765
adds jasmine test suite
Feb 12, 2016
ec47dbb
Merge branches 'feature/data-array' and 'feature/test-suite' into rel…
cmbankester Feb 12, 2016
3eaf2ab
Added webpack; fixed tests; rebased on releases
cmbankester Feb 12, 2016
8561c62
Added immybox.css to package.json main
cmbankester Mar 29, 2016
4012711
Reverted last commit
cmbankester Mar 29, 2016
539ca9a
Added on-demand choice-to-value mapping
cmbankester Mar 29, 2016
0cdd23f
Merge branch 'feature/test-suite' of github.com:immense/immybox into …
cmbankester Mar 29, 2016
6e3ecab
Fixed bug with immybox not highlighting first choice by default
cmbankester May 5, 2016
7b5ad82
Version bump
cmbankester May 5, 2016
3e977d4
Removed private from package.json
cmbankester May 5, 2016
03052a1
Merge branch 'feature/test-suite' into releases/1.0.0
cmbankester May 12, 2016
a0295cf
Switched from less to scss
cmbankester May 12, 2016
4b384f5
Added open, close to jquery.immybox methods
cmbankester May 12, 2016
ef8d60e
Merge pull request #31 from immense/feature/open-close
cmbankester May 12, 2016
64a2d72
Merge remote-tracking branch 'origin/feature/scss' into releases/1.0.0
cmbankester May 12, 2016
f232f50
Fixed a bug with falsey choice values
cmbankester Aug 17, 2016
ac5fdca
Added query results text with options
cmbankester Aug 19, 2016
ba67430
Merge pull request #35 from immense/feature/showing-x-of-y
cmbankester Aug 19, 2016
3024335
Added $.fn.immybox.defaults; added demos for defaults setting
cmbankester Aug 19, 2016
f7ea0fa
Removed openOnClick; added open_on_focus
cmbankester Aug 19, 2016
6fd15c6
Added scroll position remembering
cmbankester Aug 19, 2016
ec11d5f
Merge pull request #36 from immense/feature/default-options-setters
cmbankester Aug 19, 2016
df25860
Merge branch 'feature/open-on-focus' into releases/1.0.0
cmbankester Aug 19, 2016
bdf3884
Merge branch 'feature/remember-scroll-position' into releases/1.0.0
cmbankester Aug 19, 2016
c5d3e58
Version bump
cmbankester Aug 19, 2016
21af2ac
Fixed some bundling issues with immybox.jquery's requiring of immybox
cmbankester Aug 26, 2016
e28b300
Added gh-pages maker
cmbankester Aug 26, 2016
76e9232
Added gh-pages maker shell script
cmbankester Aug 26, 2016
a368608
Added the rest of the shell script
cmbankester Aug 26, 2016
60fd261
Added some console logging
cmbankester Aug 26, 2016
7215640
Added immybox arrow to demo dir
cmbankester Aug 26, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "presets": ["es2015"], "plugins": ["ramda"] }
49 changes: 49 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"indent": [
2,
2
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
]
},
"env": {
"es6": true,
"browser": true,
"jquery": true
},
"plugins": [
"babel"
],
"extends": "eslint:recommended"
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
node_modules
bower_components
npm-debug.log
37 changes: 0 additions & 37 deletions Gruntfile.coffee

This file was deleted.

13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ Immybox is available in the bower repository. To install it in your bower enable

`bower install immybox`

## Building
## Hacking on Immybox

To build immybox from the less and coffeescript source, do the following in a node.js enabled environment:
Do the following in a Node.js enabled environment:

```
npm install -g grunt-cli
```bash
# Install development dependencies:
npm install
grunt
# Compile less to css
npm run build:less
# Compile the ES6 source to ES5 JS (for compatibility with older browsers)
npm run build:js
```
## License

Expand Down
8 changes: 5 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"name": "immybox",
"description": "An autocomplete-like jQuery plugin",
"version": "0.4.2",
"version": "1.0.0-beta3",
"private": false,
"license": "MIT",
"main": [
"jquery.immybox.js",
"immybox.css"
"build/immybox.js",
"build/jquery.immybox.js",
"build/immybox.css",
"src/immybox-arrow.png"
]
}
54 changes: 54 additions & 0 deletions build/immybox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.immybox.immybox_witharrow {
background-image: url(/img/immybox-arrow.png);
background-repeat: no-repeat;
background-position: right center;
}

.immybox_dropdown {
position: absolute;
background-color: white;
border: 1px solid #ccc;
z-index: 9001;
}

.immybox_dropdown p.immybox_results_text, .immybox_dropdown p.immybox_noresults {
color: #ccc;
font-style: italic;
padding: 0 1em;
margin: 0;
z-index: 9002;
}

.immybox_dropdown .immybox_results {
overflow: auto;
max-height: 20em;
z-index: 9002;
}

.immybox_dropdown .immybox_results ul {
list-style-type: none;
margin: 0;
padding: 0;
}

.immybox_dropdown .immybox_results ul li {
padding: 0.25em 1em;
-o-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
}

.immybox_dropdown .immybox_results ul li.immybox_choice {
cursor: pointer;
}

.immybox_dropdown .immybox_results ul li.immybox_choice:hover, .immybox_dropdown .immybox_results ul li.immybox_choice.active {
background-color: #f1f1f1;
}

.immybox_dropdown .immybox_results ul li.immybox_choice .highlight {
text-decoration: underline;
}

Loading