projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Immense Particles Refactor Part C
[profile/ivi/qtdeclarative.git]
/
examples
/
declarative
/
particles
/
launcherContent
/
launcher.js
1
function nameFromPath(path){
2
var ret = path.split('/');
3
return ret[ret.length-1].split('.')[0];
4
}
5
function iconFromPath(path){
6
var ret = path.split('/');
7
return "launcherContent/icons/" + ret[ret.length-1].split('.')[0] + ".png";
8
}