      "function"
      ;;     "wrappable function"
      "new"
-     "return values")))
+     "return values"     
+     )))
 
 (defconst *pjs-function-qualifiers*
   (pjs--regexp-opt-symbol

(defconst *pjs-method-on-keywords*
  (pjs--regexp-opt-symbol
   '("modifybefore"
     "modifyafter"
     "load"
     "loadsafe"
     "new"
     "delete")))

(defconst *pjs-method-type*
  (format "\\(?:%s\\s-+\\)?%s" *pjs-method-on-keywords* *js-type*))

;; method definition
(defconst *pjs-method-heading*
  (format "^\\s-*\\<method\\>\\s-+\\(%s\\)\\s-+\\(\\<on\\>\\)\\s-+\\(%s\\)" *js-function-name* *pjs-method-type*)
  "Regular expression matching the start of a method header.")

;;method arguments

  (push (list *pjs-method-heading*
	      '(1 font-lock-function-name-face)
	      '(2 font-lock-keyword-face)
	      )
	font-locks)
  ;;  (push (list *pjs-method-heading* 2 font-lock-keyword-face) font-locks)
  ;;  (push (list *pjs-method-heading* 3 font-lock-type-face) font-locks)  
