Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add changelog, fix bower file, fix css issues and add usage to readme
- Loading branch information
Showing
13 changed files
with
180 additions
and
18 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -4,3 +4,4 @@ | ||
.\#* | .\#* | ||
bower_components | bower_components | ||
node_modules | node_modules | ||
www |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
0.1.0 Base code |
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 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 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 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,42 @@ | |||
<!DOCTYPE HTML> | |||
<html> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |||
<title>Example of jQuery Browse</title> | |||
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |||
<script src="../js/jquery.filebrowser-src.js"></script> | |||
<script src="http://code.jquery.com/ui/1.12.0/jquery-ui.js"></script> | |||
<link href="http://code.jquery.com/ui/1.12.1/themes/dark-hive/jquery-ui.css" rel="stylesheet"/> | |||
<link href="../css/jquery.filebrowser-src.css" rel="stylesheet"/> | |||
<style> | |||
#browser { | |||
width: 600px; | |||
height: 400px; | |||
border: 1px solid gray; | |||
} | |||
</style> | |||
<script> | |||
$(function() { | |||
var browse = $('#browser').browse({ | |||
root: '/', | |||
separator: '/', | |||
dir: function(path, callback) { | |||
if (path == '/') { | |||
callback({dirs: ['foo', 'bar'], files: []}); | |||
} else if (path == '/foo/') { | |||
callback({dirs: [], files: ['baz','quux']}); | |||
} else { | |||
callback({files: [], dirs: []}); | |||
} | |||
}, | |||
open: function(filename) { | |||
alert('opening ' + filename); | |||
} | |||
}); | |||
}); | |||
</script> | |||
</head> | |||
<div id="browser"></div> | |||
<body> | |||
</body> | |||
</html> |
File renamed without changes.