fix indent & name

This commit is contained in:
sh8281.kim 2013-11-14 13:44:02 +09:00
parent 8db917849a
commit 853bcba0d1

View file

@ -223,8 +223,8 @@ impl Window {
let global = WindowBinding::Wrap(cx, ptr::null(), win);
unsafe {
let fns = ["window","self"];
for str in fns.iter() {
let fn_names = ["window","self"];
for str in fn_names.iter() {
do (*str).to_c_str().with_ref |name| {
JS_DefineProperty(cx, global, name,
RUST_OBJECT_TO_JSVAL(global),