-
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.
Merge branch 'master' into greenkeeper/update-all
- Loading branch information
Showing
39 changed files
with
1,325 additions
and
1,274 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,7 +1,6 @@ | ||
languages: | ||
JavaScript: true | ||
exclude_paths: | ||
- "js/dist/*.js" | ||
- "js/dist/**/*.js" | ||
- "test/*.js" | ||
- "test/**/*.js" | ||
- "doc/**" | ||
- "lib/**" | ||
- "test/**" |
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,28 +1,10 @@ | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directory | ||
# Deployed apps should consider commenting this line out: | ||
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git | ||
node_modules | ||
jspm_packages | ||
|
||
# Coverage directory used by nyc | ||
coverage | ||
.nyc_output | ||
|
||
# groc | ||
doc | ||
# Documentation | ||
gh-pages |
This file was deleted.
Oops, something went wrong.
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,13 +1,15 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "iojs" | ||
- "0.12" | ||
- "0.11" | ||
- "0.10" | ||
- node | ||
|
||
install: | ||
- npm -d install | ||
- npm install | ||
|
||
script: | ||
- npm test | ||
- npm run cover | ||
|
||
after_success: | ||
- ./node_modules/.bin/coveralls < coverage/lcov.info || true | ||
- ./node_modules/.bin/codeclimate < coverage/lcov.info || true | ||
- bash <(curl -s https://codecov.io/bash) || true | ||
- coveralls < coverage/lcov.info || true | ||
- codeclimate-test-reporter < coverage/lcov.info || true |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,52 @@ | ||
h1, | ||
h2, | ||
.navigation, | ||
.layout-container > header, | ||
footer | ||
{ | ||
border: none; | ||
} | ||
|
||
.project-name { | ||
color: #FC913A; | ||
font-weight: bold; | ||
} | ||
|
||
.layout-container > header > a.repo-url-github { | ||
font-size: inherit; | ||
display: inline; | ||
background: none; | ||
vertical-align: inherit; | ||
} | ||
|
||
.search-box img { | ||
display: none; | ||
} | ||
|
||
.search-box::before{ | ||
content: "search"; | ||
} | ||
|
||
.search-input-edge { | ||
height: 0px; | ||
} | ||
|
||
.search-result { | ||
width: 300px; | ||
margin-left: 42px; | ||
box-shadow: 1px 1px 13px rgba(0,0,0,0.2); | ||
} | ||
|
||
.search-input { | ||
visibility: visible; | ||
} | ||
|
||
.search-result li.search-separator { | ||
text-transform: capitalize; | ||
background-color: #ccc; | ||
} | ||
|
||
span[data-ice="signature"] > span { | ||
/*font-weight: bold;*/ | ||
font-style: italic; | ||
} |
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,57 @@ | ||
|
||
```js | ||
// can choose between 3 different implementations | ||
// | ||
// - BinomialHeap( BinomialTreeWithParent ) | ||
// # head -> value | ||
// # headreference -> reference | ||
// # pop -> value | ||
// # popreference -> reference | ||
// # push( value ) -> reference | ||
// # pushreference( reference ) | ||
// # merge( other ) | ||
// # update( reference , value ) | ||
// # decreasekey( reference , value ) | ||
// # increasekey( reference , value ) | ||
// # delete( reference ) | ||
// | ||
// - BinomialHeap( BinomialTree ) | ||
// # head -> value | ||
// # pop -> value | ||
// # push( value ) | ||
// # merge( other ) | ||
// | ||
// - LazyBinomialHeap( BinomialTree ) | ||
// # pop -> value | ||
// # push( value ) | ||
// # merge( other ) | ||
|
||
let compare = require( "aureooms-js-compare" ) ; | ||
|
||
let Heap = binomialheap. ... ( binomialheap. ... ) ; | ||
|
||
let a = new Heap( compare.increasing ) ; | ||
let b = new Heap( compare.increasing ) ; | ||
|
||
a.push( 5 ) ; | ||
a.push( 1 ) ; | ||
a.push( 4 ) ; | ||
b.push( 3 ) ; | ||
b.push( 2 ) ; | ||
|
||
a.length ; // 3 | ||
b.length ; // 2 | ||
|
||
a.merge( b ) ; | ||
delete b ; | ||
|
||
a.length ; // 5 | ||
|
||
a.pop( ) ; // 1 | ||
a.pop( ) ; // 2 | ||
a.pop( ) ; // 3 | ||
a.pop( ) ; // 4 | ||
a.pop( ) ; // 5 | ||
|
||
a.length ; // 0 | ||
``` |
Oops, something went wrong.