Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add support for static plugin methods ($.cookie, etc.)

git-svn-id: http://ocamljs.googlecode.com/svn/trunk@199 27578800-e353-0410-a23a-a7c9f63c6ccd
  • Loading branch information...
commit 85e312fceacdb77f03c849948e595e3fb6b6349c 1 parent 99519af
Dave Benjamin authored June 30, 2009
4  src/jquery/jQuery.ml
@@ -443,6 +443,10 @@ end
443 443
 
444 444
 let jQuery_util = (Ocamljs.var "jQuery" : jQuery_util)
445 445
 
  446
+(* Invoking Plugins *)
  447
+let jQuery_plugin_static (name : string) =
  448
+  Ocamljs.hashref jQuery_util name
  449
+
446 450
 (* Callbacks *)
447 451
 (* --------- *)
448 452
 
3  src/jquery/jQuery.mli
@@ -439,6 +439,9 @@ end
439 439
 
440 440
 val jQuery_util : jQuery_util
441 441
 
  442
+(* Invoking Plugins *)
  443
+val jQuery_plugin_static : string -> 'a
  444
+
442 445
 (* Callbacks *)
443 446
 (* --------- *)
444 447
 

0 notes on commit 85e312f

Please sign in to comment.
Something went wrong with that request. Please try again.