Permalink
Browse files

Version 0.3@1: Recognize new keywords for jQuery 1.4

  • Loading branch information...
nono authored and vim-scripts committed Jan 15, 2010
1 parent 3c78919 commit d321b054770aa9fe713f306cedb5695c1a866bb5
Showing with 11 additions and 11 deletions.
  1. +11 −11 syntax/jquery.vim
View
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: jQuery
" Maintainer: Bruno Michel <brmichel@free.fr>
" Last Change: 2009 Oct 10
" Last Change: Jan 14, 2010
" Version: 0.3
" URL: http://jquery.com/
@@ -16,18 +16,18 @@ syn match jQuery /jQuery\|\$/
syn match jFunc /\.\w\+(/ contains=@jFunctions
syn cluster jFunctions contains=jCore,jAttributes,jTraversing,jManipulation,jCSS,jEvents,jAjax,jUtilities,jEffects
syn keyword jCore contained each size length selector context eq get index
syn keyword jCore contained data removeData queue dequeue
syn keyword jCore contained each size length selector context eq get index toArray
syn keyword jCore contained data removeData clearQueue queue dequeue
syn keyword jCore contained extend noConflict
syn keyword jAttributes contained attr removeAttr addClass removeClass toggleClass html text val
syn keyword jTraversing contained eq filter is map not slice
syn keyword jTraversing contained add children closest contents find next nextAll parent parents prev prevAll siblings
syn keyword jTraversing contained eq filter has is map not slice
syn keyword jTraversing contained add children closest contents find next nextAll nextUntil parent parents parentsUntil prev prevAll prevUntil siblings
syn keyword jTraversing contained andSelf end
syn keyword jManipulation contained append appendTo preprend prependTo
syn keyword jManipulation contained after before insertAfter insertBefore
syn keyword jManipulation contained wrap wrapAll wrapInner
syn keyword jManipulation contained unwrap wrap wrapAll wrapInner
syn keyword jManipulation contained replaceWith replaceAll
syn keyword jManipulation contained empty remove
syn keyword jManipulation contained detach empty remove
syn keyword jManipulation contained clone
syn keyword jCSS contained css
syn keyword jCSS contained offset offsetParent position scrollTop scrollLeft
@@ -36,18 +36,18 @@ syn keyword jEvents contained ready
syn keyword jEvents contained bind one trigger triggerHandler unbind
syn keyword jEvents contained live die
syn keyword jEvents contained hover toggle
syn keyword jEvents contained blur change click dblclick error focus keydown keypress keyup load
syn keyword jEvents contained blur change click dblclick error focus focusin focusout keydown keypress keyup load
syn keyword jEvents contained mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup resize scroll select submit unload
syn keyword jEffects contained show hide toggle
syn keyword jEffects contained slideDown slideUp slideToggle
syn keyword jEffects contained fadeIn fadeOut fadeTo
syn keyword jEffects contained animate stop
syn keyword jEffects contained animate stop delay
syn keyword jAjax contained ajax load get getJSON getScript post
syn keyword jAjax contained ajaxComplete ajaxError ajaxSend ajaxStart ajaxStop ajaxSuccess
syn keyword jAjax contained ajaxSetup serialize serializeArray
syn keyword jUtilities contained support browser boxModel
syn keyword jUtilities contained extend grep makeArray map inArray merge unique
syn keyword jUtilities contained isArray isFunction
syn keyword jUtilities contained extend grep makeArray map inArray merge noop proxy unique
syn keyword jUtilities contained isArray isEmptyObject isFunction isPlainObject
syn keyword jUtilities contained trim param

0 comments on commit d321b05

Please sign in to comment.