Mercurial > MadButterfly
diff nodejs/mbfly_njs.cc @ 822:586e50f82c1f
Unify coding style tag for emacs and vim.
author | Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com> |
---|---|
date | Tue, 14 Sep 2010 01:08:39 +0800 |
parents | 61c217f8cec8 |
children | c18058fb48ee |
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc Tue Sep 14 00:25:44 2010 +0800 +++ b/nodejs/mbfly_njs.cc Tue Sep 14 01:08:39 2010 +0800 @@ -1,3 +1,5 @@ +// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- +// vim: sw=4:ts=8:sts=4 #include <stdio.h> #include <string.h> #include <v8.h> @@ -70,7 +72,7 @@ * here. */ X_njs_MB_init_handle_connection(obj); xnjsmb_coord_mkroot(self); - + subject = X_njs_MB_kbevents(obj); subject_o = export_xnjsmb_auto_subject_new(subject); SET(self, "kbevents", subject_o); @@ -112,7 +114,7 @@ rt = (njs_runtime_t *)UNWRAP(mbrt); rdman = X_njs_MB_rdman(rt); - + return rdman; } @@ -145,9 +147,9 @@ xnjsmb_font_init_mb_rt_temp(xnjsmb_auto_mb_rt_temp); xnjsmb_img_ldr_init_mb_rt_temp(target); xnjsmb_observer_init(); - + target->Set(String::New("mb_rt"), - xnjsmb_auto_mb_rt_temp->GetFunction()); + xnjsmb_auto_mb_rt_temp->GetFunction()); } /* @} */