Add macro for reflecting URLs

This commit is contained in:
Manish Goregaokar 2014-10-07 21:25:45 +05:30
parent e9f654d60a
commit 8cba6c7580
3 changed files with 32 additions and 15 deletions

View file

@ -100,7 +100,7 @@ impl<'a> HTMLImageElementMethods for JSRef<'a, HTMLImageElement> {
make_setter!(SetAlt, "alt")
make_getter!(Src)
make_url_getter!(Src)
make_setter!(SetSrc, "src")