 	    (lambda()
 	      (delete-trailing-whitespace)
 	      nil))
-  )  
+  )
 (add-hook 'web-mode-hook  'gp-web-mode-hook)
 
 
 ;; adjust indents for json-mode to 2 spaces
 (defun gp-json-mode-hook ()
-  "hooks for json-mode."
+  "Hooks for json-mode."
   (make-local-variable 'js-indent-level)
   (setq js-indent-level 2))
 

  )

(defun gp-tern-setup ()
  ;; setup tern
  ;; Don't forget to create a .tern-project file in the root of your javascript project
  ;; http://ternjs.net/doc/manual.html#configuration
  (add-hook 'js2-mode-hook (lambda () (gp-js2-mode-hook)))
  (eval-after-load 'tern
    '(progn

(gp-tern-setup)

(provide 'init-webdev)
;;; init-webdev.el ends here
