Skip to content

Commit

Permalink
Some code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hupotronic committed Mar 22, 2014
1 parent 977dbff commit 95ef158
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions src/strings.ls
Expand Up @@ -28,74 +28,74 @@ NA = ''
# get base designation
base = (a) ->

t = KEYWORDS.1 # layout
p = ESCAPE.2 # :
i = PROTOCOL.0 # http
d = ESCAPE.1 # .
l = LAYOUT.1 # fixed
u = ESCAPE.3 # _
b = DISCOVERY.0 # browse
g = ADAPTER.2 # VGA
h = ESCAPE.4 # -
n = NAMES.0 # walker
f = FORMATS.0 # epub
q = QUANTITY.1 # 100
w = b.replace VOWELS, NA # browse
s = ESCAPE.0 # /
c = TYPE.1 # comic
o = TLD.0 # com
e = ENV.1 # production
y = DISCOVERY.4 # delivery
z = q.replace VERSION, NA # 00
t = KEYWORDS.1
p = ESCAPE.2
i = PROTOCOL.0
d = ESCAPE.1
l = LAYOUT.1
u = ESCAPE.3
b = DISCOVERY.0
g = ADAPTER.2
h = ESCAPE.4
n = NAMES.0
f = FORMATS.0
q = QUANTITY.1
w = b.replace VOWELS, NA
s = ESCAPE.0
c = TYPE.1
o = TLD.0
e = ENV.1
y = DISCOVERY.4
z = q.replace VERSION, NA

"#i#p#s#s#y#d#c#h#n#d#o#s#e#s#y#s#a#s#q#s#f#u#w#u#l#t#s#g#s#z#s"

# get reference
ref = (a, b) ->

g = LANGUAGES.0 # en
c = DISCOVERY.4 # delivery
o = ESCAPE.1 # .
r = LANGUAGES.6 # dl
h = ESCAPE.0 # /
d = b.replace "#c#o" NA # 0 24
i = IDS.1 # cid
e = ESCAPE.6 # =
u = QUANTITY.0 # 10
v = CLIENT.2 # viewer
q = ESCAPE.7 # ?
n = d.slice 0 24 # base
y = u.replace NONE, NA # 1
f = LANGUAGES.8 # tw
s = ESCAPE.5 # &
l = LANGUAGES.4 # cl
g = LANGUAGES.0
c = DISCOVERY.4
o = ESCAPE.1
r = LANGUAGES.6
h = ESCAPE.0
d = b.replace "#c#o" NA
i = IDS.1
e = ESCAPE.6
u = QUANTITY.0
v = CLIENT.2
q = ESCAPE.7
n = d.slice 0 24
y = u.replace NONE, NA
f = LANGUAGES.8
s = ESCAPE.5
l = LANGUAGES.4

"#n#v#h#q#f#e#y#s#r#l#e#g#s#i#e#a"


# get configuration location
config = (a, b) ->

f = FEED.1 # json
c = KEYWORDS.4 # configuration
s = ESCAPE.3 # _
t = ESCAPE.1 # .
p = DELIVERY.1.slice 0 4 # pack
f = FEED.1
c = KEYWORDS.4
s = ESCAPE.3
t = ESCAPE.1
p = DELIVERY.1.slice 0 4

"#b#c#s#p#t#f"

# get item location
item = (a, b, c) ->

f = IMAGES.1 # jpeg
d = TIME.1 # date
m = CLIENT.0 # mobile
q = QUANTITY.0 # 10
s = ESCAPE.0 # /
z = q.slice 1 # 0
o = ESCAPE.1 # .
t = d.slice 0 3 # date
i = c.replace t, f # path
f = IMAGES.1
d = TIME.1
m = CLIENT.0
q = QUANTITY.0
s = ESCAPE.0
z = q.slice 1
o = ESCAPE.1
t = d.slice 0 3
i = c.replace t, f

{
name: "#c"
Expand Down

0 comments on commit 95ef158

Please sign in to comment.