Commit c783290d authored by Leo Iannacone's avatar Leo Iannacone

removed unsed methods

parent 2f3adf58
function get_path(path) {
info = path.split('/');
data = {}
if (info.length >= 1) {
data.distribution = {}
data.distribution.name = info[0];
socket.emit("get_distribution_packages", data)
select_navbar_voice(data)
}
if (info.length >= 3){
data.package = {}
data.package.name = info[1];
data.package.version = info[2];
socket.emit("get_package_file_list", data)
}
if (info.length >= 4) {
data.file = {}
data.file.name = info[3]
socket.emit("get_file", data)
}
update_breadcrumb(path)
}
function select_navbar_voice(data) {
}
function update_breadcrumb(hash) {
}
var socket = io.connect('//localhost:3000');
var old_data = Utils.from_hash_to_data()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment