SORU
24 ŞUBAT 2010, ÇARŞAMBA


jQuery 1.4.2 use vsdoc

Nerede jQuery 1.4.2 için use vsdoc alabilir miyim?

CEVAP
25 Mart 2010, PERŞEMBE


Maceracı 2949 başlayarak: aşağıdaki satırları ekleyebilirsiniz

delegate: function( selector, types, data, fn ) {
/// <summary>
///   Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. See also "live".
/// </summary>
/// <param name="selector" type="String">
///     An expression to search with.
/// </param>
/// <param name="types" type="String">
///     A string containing a JavaScript event type, such as "click" or "keydown".
/// </param>
/// <param name="data" type="Object">
///     A map of data that will be passed to the event handler.
/// </param>
/// <param name="fn" type="Function">
///     A function to execute at the time the event is triggered.
/// </param>
    return this.live( types, data, fn, selector );
},
undelegate: function( selector, types, fn ) {
/// <summary>
///   Remove a handler from the event for all elements which match the current selector, now or in the future, based upon a specific set of root elements. See also "die".
/// </summary>
/// <param name="selector" type="String">
///     An expression to search with.
/// </param>
/// <param name="types" type="String">
///     A string containing a JavaScript event type, such as "click" or "keydown".
/// </param>
/// <param name="data" type="Object">
///     A map of data that will be passed to the event handler.
/// </param>
/// <param name="fn" type="Function">
///     A function to execute at the time the event is triggered.
/// </param>
    if ( arguments.length === 0 ) {
            return this.unbind( "live" );

    } else {
        return this.die( types, null, fn, selector );
    }
},

Belgeleri hemen hemen mevcut tanımlardan bir WordPress kullanmak web sayfalarının ve yırtık olduğunu "" ve "" uygun gördüğün şekilde ayarlamak için, ama buyur. ölür

Ayrıca, satır 224:

// The current version of jQuery being used
    jquery: "1.4.2",

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Max Lee

    Max Lee

    18 AĞUSTOS 2006
  • Tomas N

    Tomas N

    14 Kasım 2010
  • TomKNJ

    TomKNJ

    26 ŞUBAT 2007