Zach Thompson
b8aed43d1e
* Convert slurp/Load to LoadFile
2015-05-29 16:18:03 -06:00
Thomas Denizou
1e230032ef
"Use strict" on remaining goodies
2015-05-15 18:38:18 -04:00
Chris Wilson
9a13b24e11
Planets: Clean code
...
Move join string statements outside handle.
Use Text::Trim
Cleanup vars
Remove attribute join statement, simplify
Fix if statement indentation
Update common words regexp
Move unitType switching
2015-04-13 09:56:33 +08:00
Chris Wilson
2222000937
Planets: Fix indentation
2015-04-13 09:13:06 +08:00
Chris Wilson
9e45875b8e
Planets: Update image paths to use goodie_version.
...
Include $DDG::GoodieBundle::OpenSourceDuckDuckGo::VERSION var
2015-04-10 07:00:36 +08:00
Chris Wilson
797004760b
Planets: Strip 'in' word to allow trigger: "size of moon in <unitType>"
2015-04-06 19:17:16 +08:00
Chris Wilson
063db984f8
Planets: Remove unused package List::Util
2015-04-05 19:17:54 +08:00
Chris Wilson
a81199d05f
Planets: Add ability to switch unit type based on user input
2015-04-05 19:13:35 +08:00
Chris Wilson
70012a4dac
Planets: Remove unused vars
2015-04-03 12:32:59 +08:00
Chris Wilson
c5fca1849c
Planets:
...
+ Add handlebars mobile template
+ Add saturn conditional block
+ Set width height inline
2015-04-03 12:28:45 +08:00
Chris Wilson
3c8e7af6fa
Planets: Remove unused div in handlebars. Fix style
2015-04-03 09:02:30 +08:00
chrisjwilsoncom
0c7c639407
Planets: Fix Details template, update css
2015-04-01 04:07:06 +00:00
chrisjwilsoncom
e06fd5e2a3
Planets: Convert to using structured_answer/template
2015-03-28 06:46:06 +00:00
Chris Wilson
368643fc13
Planets: Fix moon data, Fix tests
2015-03-27 00:40:41 +08:00
Chris Wilson
c5ae936c9f
Planets: Add regexp block
...
+ convert x to HTML entity
+ superscript km|mi
+ superscript exponent
2015-03-27 00:26:02 +08:00
Chris Wilson
198166630b
Planets: Convert large numbers to scientific notation
...
+ uranus - moon
+ remove all commas in yml
+ remove trailing 0 mercury
2015-03-26 23:55:03 +08:00
Chris Wilson
60a37e1ffb
Planets: Add Moon data, Update triggers
2015-03-22 16:12:42 +08:00
Chris Wilson
2727aecc1d
Planets:
...
+ Vertically center info
+ Remove HTML testing output
2015-03-19 21:14:29 +08:00
Chris Wilson
49891accf7
Planets:
...
CSS:
+ Center planet image
+ Add #333 background
Perl:
+ Set custom width/height for saturn
+ Testing change in HTML output
2015-03-19 20:57:51 +08:00
Chris Wilson
cfa6c1624b
Planets: Add 'pluto' trigger and yml data
2015-02-16 16:30:40 +08:00
Chris Wilson
1af2ce1095
Planets:
...
+ Update image function goodie_img_tag single image in /img/ dir
+ Remove UK from switch to imperial for non-metric countries check
+ Modify CSS style as per feedback
+ Update tests
2015-02-06 17:40:21 +08:00
Chris Wilson
a0c3f87a04
Planets: Update regex '^what is'. Update Saturn image width.
2015-01-22 11:20:41 +08:00
Chris Wilson
f22ead415d
Planets: Complete rename of vars to solarsystem. Add Sun image.
2015-01-21 08:54:20 +08:00
Chris Wilson
3898fdbd0a
Planets: Rename to SolarSystem
2015-01-21 08:22:59 +08:00