Commit 1628c33499bc28dc88e6ac8b06e2ff8ac23ee47e
Committed by
Antonio Terceiro
1 parent
5fa4a587
Exists in
master
and in
29 other branches
XMPP/Jabber based chat
- added strophejs lib to communication with XMPP server - added jquery.scrollabletab.js and jquery.emoticon.js plugins - new 'pidgin' icon theme - environment attribute 'icon_theme' moved to theme - added ruby_bosh as plugin to start XMPP/BOSH session (ActionItem1635)
Showing
171 changed files
with
12196 additions
and
57 deletions
Show diff stats
Too many changes.
To preserve performance only 100 of 171 files displayed.
... | ... | @@ -0,0 +1,12 @@ |
1 | +To configure XMPP/BOSH in Noosfero you need: | |
2 | + | |
3 | +* REST Client - http://github.com/archiloque/rest-client | |
4 | +* SystemTimer - http://ph7spot.com/musings/system-timer | |
5 | +* Pidgin data files - http://www.pidgin.im/ | |
6 | + | |
7 | +# apt-get install librestclient-ruby | |
8 | +# apt-get install libsystemtimer-ruby (depends to do Debian package to this) | |
9 | +# apt-get install pidgin-data | |
10 | + | |
11 | +Take a look at util/chat directory to see samples of config file to configure a | |
12 | +XMPP/BOSH server with ejabberd, postgresql and apache2. | ... | ... |
app/controllers/application.rb
... | ... | @@ -116,7 +116,7 @@ class ApplicationController < ActionController::Base |
116 | 116 | def render_not_found(path = nil) |
117 | 117 | @no_design_blocks = true |
118 | 118 | @path ||= request.path |
119 | - render :template => 'shared/not_found.rhtml', :status => 404 | |
119 | + render :template => 'shared/not_found.rhtml', :status => 404, :layout => get_layout | |
120 | 120 | end |
121 | 121 | |
122 | 122 | def render_access_denied(message = nil, title = nil) | ... | ... |
... | ... | @@ -0,0 +1,56 @@ |
1 | +class ChatController < PublicController | |
2 | + | |
3 | + before_filter :login_required | |
4 | + before_filter :check_environment_feature | |
5 | + | |
6 | + def start_session | |
7 | + login = current_user.jid | |
8 | + password = current_user.crypted_password | |
9 | + begin | |
10 | + jid, sid, rid = RubyBOSH.initialize_session(login, password, "http://#{environment.default_hostname}/http-bind") | |
11 | + session_data = { :jid => jid, :sid => sid, :rid => rid } | |
12 | + render :text => session_data.to_json, :layout => false, :content_type => 'application/javascript' | |
13 | + rescue | |
14 | + render :action => 'start_session_error', :layout => false, :status => 500 | |
15 | + end | |
16 | + end | |
17 | + | |
18 | + def avatar | |
19 | + person = environment.people.find_by_identifier(params[:id]) | |
20 | + filename, mimetype = profile_icon(person, :minor, true) | |
21 | + data = File.read(File.join(RAILS_ROOT, 'public', filename)) | |
22 | + render :text => data, :layout => false, :content_type => mimetype | |
23 | + expires_in 24.hours | |
24 | + end | |
25 | + | |
26 | + def index | |
27 | + presence = current_user.last_presence_status | |
28 | + if presence.blank? | |
29 | + render :text => '', :layout => 'chat' | |
30 | + elsif presence == 'chat' | |
31 | + render :action => 'auto_connect_online' | |
32 | + else | |
33 | + render :action => 'auto_connect_busy' | |
34 | + end | |
35 | + end | |
36 | + | |
37 | + def update_presence_status | |
38 | + if request.xhr? | |
39 | + unless params[:closing_window] | |
40 | + current_user.update_attribute(:last_presence_status, params[:presence_status]) | |
41 | + end | |
42 | + current_user.update_attribute(:presence_status, params[:presence_status]) | |
43 | + end | |
44 | + render :nothing => true | |
45 | + end | |
46 | + | |
47 | + protected | |
48 | + | |
49 | + def check_environment_feature | |
50 | + unless environment.enabled?('xmpp_chat') | |
51 | + render_not_found | |
52 | + return | |
53 | + end | |
54 | + end | |
55 | + | |
56 | +end | ... | ... |
app/helpers/application_helper.rb
... | ... | @@ -421,9 +421,11 @@ module ApplicationHelper |
421 | 421 | image_tag(profile_icon(profile, size), opt ) |
422 | 422 | end |
423 | 423 | |
424 | - def profile_icon( profile, size=:portrait ) | |
424 | + def profile_icon( profile, size=:portrait, return_mimetype=false ) | |
425 | + filename, mimetype = '', 'image/png' | |
425 | 426 | if profile.image |
426 | - profile.image.public_filename( size ) | |
427 | + filename = profile.image.public_filename( size ) | |
428 | + mimetype = profile.image.content_type | |
427 | 429 | else |
428 | 430 | icon = |
429 | 431 | if profile.organization? |
... | ... | @@ -435,8 +437,9 @@ module ApplicationHelper |
435 | 437 | else |
436 | 438 | '/images/icons-app/person-'+ size.to_s() +'.png' |
437 | 439 | end |
438 | - default_or_themed_icon(icon) | |
440 | + filename = default_or_themed_icon(icon) | |
439 | 441 | end |
442 | + return_mimetype ? [filename, mimetype] : filename | |
440 | 443 | end |
441 | 444 | |
442 | 445 | def default_or_themed_icon(icon) |
... | ... | @@ -940,12 +943,15 @@ module ApplicationHelper |
940 | 943 | end |
941 | 944 | |
942 | 945 | def icon_theme_stylesheet_path |
943 | - theme_path = "/designs/icons/#{environment.icon_theme}/style.css" | |
944 | - if File.exists?(File.join(RAILS_ROOT, 'public', theme_path)) | |
945 | - theme_path | |
946 | - else | |
947 | - '/designs/icons/default/style.css' | |
946 | + icon_themes = [] | |
947 | + theme_icon_themes = theme_option(:icon_theme) || [] | |
948 | + for icon_theme in theme_icon_themes do | |
949 | + theme_path = "/designs/icons/#{icon_theme}/style.css" | |
950 | + if File.exists?(File.join(RAILS_ROOT, 'public', theme_path)) | |
951 | + icon_themes << theme_path | |
952 | + end | |
948 | 953 | end |
954 | + icon_themes | |
949 | 955 | end |
950 | 956 | |
951 | 957 | def page_title |
... | ... | @@ -954,6 +960,7 @@ module ApplicationHelper |
954 | 960 | (@topic ? @topic.title + ' - ' : '') + |
955 | 961 | (@section ? @section.title + ' - ' : '') + |
956 | 962 | (@toc ? _('Online Manual') + ' - ' : '') + |
963 | + (@controller.controller_name == 'chat' ? _('Chat') + ' - ' : '') + | |
957 | 964 | environment.name + |
958 | 965 | (@category ? " - #{@category.full_name}" : '') |
959 | 966 | end |
... | ... | @@ -1105,4 +1112,23 @@ module ApplicationHelper |
1105 | 1112 | will_paginate(collection, options) |
1106 | 1113 | end |
1107 | 1114 | |
1115 | + def usermenu_from_environment_features | |
1116 | + usermenu_html = '' | |
1117 | + environment.enabled_features.keys.each do |feature| | |
1118 | + file = File.join(@controller.view_paths, 'shared', 'usermenu', "#{feature}.rhtml") | |
1119 | + if File.exists?(file) | |
1120 | + usermenu_html << render(:file => file, :use_full_path => false) | |
1121 | + end | |
1122 | + end | |
1123 | + usermenu_html | |
1124 | + end | |
1125 | + | |
1126 | + def usermenu_logged_in | |
1127 | + (_('Welcome, %s') % link_to('<i></i><strong>%{login}</strong>', '/%{login}', :id => "homepage-link", :title => _('Go to your homepage'))) + | |
1128 | + usermenu_from_environment_features + | |
1129 | + link_to('<i class="icon-menu-admin"></i><strong>' + _('Administration') + '</strong>', { :controller => 'admin_panel', :action => 'index' }, :id => "controlpanel", :title => _("Configure the environment"), :class => 'admin-link', :style => 'display: none') + | |
1130 | + link_to('<i class="icon-menu-ctrl-panel"></i><strong>' + _('Control panel') + '</strong>', '/myprofile/%{login}', :id => "controlpanel", :title => _("Configure your personal account and content")) + | |
1131 | + link_to('<i class="icon-menu-logout"></i><strong>' + _('Logout') + '</strong>', { :controller => 'account', :action => 'logout'} , :id => "logout", :title => _("Leave the system")) | |
1132 | + end | |
1133 | + | |
1108 | 1134 | end | ... | ... |
... | ... | @@ -0,0 +1,24 @@ |
1 | +module ChatHelper | |
2 | + | |
3 | + def user_status_menu(icon_class, status) | |
4 | + links = [ | |
5 | + ['icon-menu-online', _('Online'), 'chat-connect'], | |
6 | + ['icon-menu-busy', _('Busy'), 'chat-busy'], | |
7 | + ['icon-menu-offline', _('Sign out of chat'), 'chat-disconnect'], | |
8 | + ] | |
9 | + content_tag('span', | |
10 | + link_to(content_tag('span', status) + ui_icon('ui-icon-triangle-1-s'), | |
11 | + '#', | |
12 | + :onclick => 'toggleMenu(this); return false', | |
13 | + :class => icon_class + ' simplemenu-trigger' | |
14 | + ) + | |
15 | + content_tag('ul', | |
16 | + links.map{|link| content_tag('li', link_to(link[1], '#', :class => link[0], :id => link[2], 'data-jid' => current_user.jid), :class => 'simplemenu-item') }.join("\n"), | |
17 | + :style => 'display: none; z-index: 100', | |
18 | + :class => 'simplemenu-submenu' | |
19 | + ), | |
20 | + :class => 'user-status' | |
21 | + ) | |
22 | + end | |
23 | + | |
24 | +end | ... | ... |
app/models/environment.rb
... | ... | @@ -111,6 +111,7 @@ class Environment < ActiveRecord::Base |
111 | 111 | 'admin_must_approve_new_communities' => _("Admin must approve creation of communities"), |
112 | 112 | 'enterprises_are_disabled_when_created' => __('Enterprises are disabled when created'), |
113 | 113 | 'show_balloon_with_profile_links_when_clicked' => _('Show a balloon with profile links when a profile image is clicked'), |
114 | + 'xmpp_chat' => _('XMPP/Jabber based chat'), | |
114 | 115 | } |
115 | 116 | end |
116 | 117 | |
... | ... | @@ -210,7 +211,6 @@ class Environment < ActiveRecord::Base |
210 | 211 | settings_items :description, :type => String |
211 | 212 | settings_items :category_types, :type => Array, :default => ['Category'] |
212 | 213 | settings_items :enable_ssl |
213 | - settings_items :icon_theme, :type => String, :default => 'default' | |
214 | 214 | settings_items :local_docs, :type => Array, :default => [] |
215 | 215 | settings_items :news_amount_by_folder, :type => Integer, :default => 4 |
216 | 216 | settings_items :help_message_to_add_enterprise, :type => String, :default => '' |
... | ... | @@ -255,6 +255,11 @@ class Environment < ActiveRecord::Base |
255 | 255 | end |
256 | 256 | end |
257 | 257 | |
258 | + def enabled_features | |
259 | + features = self.class.available_features | |
260 | + features.delete_if{ |k, v| !self.enabled?(k) } | |
261 | + end | |
262 | + | |
258 | 263 | # returns <tt>true</tt> if this Environment has terms of use to be |
259 | 264 | # accepted by users before registration. |
260 | 265 | def has_terms_of_use? | ... | ... |
app/models/person.rb
... | ... | @@ -31,6 +31,11 @@ class Person < Profile |
31 | 31 | self.user.destroy if self.user |
32 | 32 | end |
33 | 33 | |
34 | + named_scope :connected, | |
35 | + :select => Profile.qualified_column_names, | |
36 | + :joins => :user, | |
37 | + :conditions => ['presence_status IS NOT NULL AND presence_status != ? AND presence_status != ?', 'offline', ''] | |
38 | + | |
34 | 39 | # Sets the identifier for this person. Raises an exception when called on a |
35 | 40 | # existing person (since peoples' identifiers cannot be changed) |
36 | 41 | def identifier=(value) | ... | ... |
app/models/profile.rb
app/models/user.rb
app/views/layouts/application-ng.rhtml
... | ... | @@ -24,15 +24,6 @@ |
24 | 24 | " action-"+ @controller.controller_name() +"-"+ @controller.action_name() + |
25 | 25 | " template-"+ ( profile.nil? ? "default" : profile.layout_template ) |
26 | 26 | %>" > |
27 | - <script type="text/javascript"> | |
28 | - /* Adds a class to "msie" to the body element if a Microsoft browser is | |
29 | - * detected. This is needed to workaround several of their limitations. | |
30 | - */ | |
31 | - if ( navigator.appVersion.indexOf("MSIE") > -1 ) { | |
32 | - document.body.className += " msie msie" + | |
33 | - navigator.appVersion.replace(/^.*MSIE\s+([0-9]+).*$/, "$1"); | |
34 | - } | |
35 | - </script> | |
36 | 27 | |
37 | 28 | <a href="#content" id="link-go-content"><span><%= _("Go to the content") %></span></a> |
38 | 29 | |
... | ... | @@ -43,10 +34,7 @@ |
43 | 34 | <div id="wrap-2"> |
44 | 35 | <div id="user"> |
45 | 36 | <span class='logged-in' style='display: none;'> |
46 | - <%= _('Welcome, %s.') % link_to('<i></i><strong>%{login}</strong>', '/%{login}', :id => "homepage-link", :title => _('Go to your homepage')) %> | |
47 | - <%= link_to('<i class="icon-menu-admin"></i><strong>' + _('Administration') + '</strong>', { :controller => 'admin_panel', :action => 'index' }, :id => "controlpanel", :title => _("Configure the environment"), :class => 'admin-link', :style => 'display: none') %> | |
48 | - <%= link_to('<i class="icon-menu-ctrl-panel"></i><strong>' + _('Control panel') + '</strong>', '/myprofile/%{login}', :id => "controlpanel", :title => _("Configure your personal account and content")) %> | |
49 | - <%= link_to('<i class="icon-menu-logout"></i><strong>' + _('Logout') + '</strong>', { :controller => 'account', :action => 'logout'} , :id => "logout", :title => _("Leave the system")) %> | |
37 | + <%= usermenu_logged_in %> | |
50 | 38 | </span> |
51 | 39 | <span class='not-logged-in' style='display: none'> |
52 | 40 | <%= _('%s or %s') % [thickbox_inline_popup_link('<i class="icon-menu-login"></i><strong>' + _('Login') + '</strong>', login_url, 'inlineLoginBox', :id => 'link_login'), link_to('<strong>' + _('Register') + '</strong>', :controller => 'account', :action => 'signup') ] %> | ... | ... |
app/views/layouts/application.rhtml
... | ... | @@ -42,13 +42,6 @@ |
42 | 42 | %>' onload='noosfero_init();' |
43 | 43 | onresize="registerDocumentSize()"> |
44 | 44 | <script type="text/javascript"> |
45 | - /* Adds a class to "msie" to the body element if a Microsoft browser is | |
46 | - * detected. This is needed to workaround several of their limitations. | |
47 | - */ | |
48 | - if ( navigator.appVersion.indexOf("MSIE") > -1 ) { | |
49 | - document.body.className += " msie msie" + | |
50 | - navigator.appVersion.replace(/^.*MSIE\s+([0-9]+).*$/, "$1"); | |
51 | - } | |
52 | 45 | function registerDocumentSize() { |
53 | 46 | document.body.className = document.body.className.replace(/(^| )docSize.+( |$)/g, " "); |
54 | 47 | for ( var x=100; x<=1500; x+=100 ) { | ... | ... |
... | ... | @@ -0,0 +1,59 @@ |
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>"> | |
3 | + <head> | |
4 | + <title><%= h page_title %></title> | |
5 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
6 | + <meta name="description" content="<%= @environment.name %>" /> | |
7 | + <link rel="shortcut icon" href="<%= image_path(theme_favicon) %>" type="image/x-icon" /> | |
8 | + <%= javascript_include_tag 'jquery-latest', 'jquery.noconflict', 'jquery-ui-1.8.2.custom.min', 'jquery.scrollTo', 'jquery.scrollabletab', 'strophejs-1.0.1/strophe', 'application', 'chat', 'jquery.emoticon', '/designs/icons/pidgin/emoticons.js', :cache => 'cache-chat' %> | |
9 | + <%= stylesheet_link_tag noosfero_stylesheets, :cache => 'cache' %> | |
10 | + <%= stylesheet_link_tag icon_theme_stylesheet_path %> | |
11 | + <%= stylesheet_link_tag theme_stylesheet_path %> | |
12 | + <%= stylesheet_link_tag jquery_ui_theme_stylesheet_path %> | |
13 | + <script type='text/javascript'> | |
14 | + var $presence_status_label = { | |
15 | + chat: '<%= _('Chat online') %>', | |
16 | + dnd: '<%= _('Chat busy') %>', | |
17 | + '': '<%= _('Chat offline') %>' | |
18 | + }; | |
19 | + var $own_name = '<%= user.name %>'; | |
20 | + var $starting_chat_notify = '<%= _("starting chat with %{name}") %>'; | |
21 | + </script> | |
22 | + </head> | |
23 | + <body id='chat'> | |
24 | + <div id='title-bar'> | |
25 | + <h1 class='title'><%= _("%s - Friends online (<span id='friends-online'>%d</span>)") % [h(page_title), 0] %></h1> | |
26 | + </div> | |
27 | + <div id='buddy-list'> | |
28 | + <div id='environment-logo'> | |
29 | + <%= image_tag "#{theme_path}/images/thin-logo.png", :title => environment.name, :alt => environment.name %> | |
30 | + </div> | |
31 | + <div class='toolbar'> | |
32 | + <div id='user-status'><%= user_status_menu('icon-menu-offline', _('Chat offline')) %></div> | |
33 | + <div class='dialog-error' style='display: none'></div> | |
34 | + </div> | |
35 | + <ul class='buddy-list'> | |
36 | + <!-- <li class='offline'><a id='%{jid_id}' class='icon-menu-offline-11' href='#'>%{name}</a></li> --> | |
37 | + </ul> | |
38 | + </div> | |
39 | + <div id='chat-window' class='tabs-bottom'> | |
40 | + <div id='tabs'> | |
41 | + <ul> | |
42 | + <!-- <li class="tab"><a href="#{href}">#{label}</a> <span class="ui-icon ui-icon-close">Remove Tab</span></li> --> | |
43 | + </ul> | |
44 | + </div> | |
45 | + <!-- | |
46 | + <div id='#conversation-%{jid_id}' class='conversation'> | |
47 | + <div class='history'> | |
48 | + <div class='message %{who}'><img ... /><h5 class='%{who}-info'>%{name}</h5><span class='time'>%{time}</span><p>%{message}</p></div> | |
49 | + </div> | |
50 | + <div class='input-div'> | |
51 | + <div class='icon-chat'></div> | |
52 | + <textarea type='textarea' data-to='%{jid}'></textarea> | |
53 | + </div> | |
54 | + </div> | |
55 | + --> | |
56 | + </div> | |
57 | + <%= yield %> | |
58 | + </body> | |
59 | +</html> | ... | ... |
... | ... | @@ -0,0 +1 @@ |
1 | +<%= link_to('<i class="icon-chat"></i><strong>' + _('Open chat') +'</strong>', '#', :id => 'openchat', :onclick => 'open_chat_window(this)') %> | ... | ... |
config/routes.rb
... | ... | @@ -81,6 +81,10 @@ ActionController::Routing::Routes.draw do |map| |
81 | 81 | # contact |
82 | 82 | map.contact 'contact/:profile/:action/:id', :controller => 'contact', :action => 'index', :id => /.*/, :profile => /#{Noosfero.identifier_format}/ |
83 | 83 | |
84 | + # chat | |
85 | + map.chat 'chat/:action/:id', :controller => 'chat' | |
86 | + map.chat 'chat/:action', :controller => 'chat' | |
87 | + | |
84 | 88 | ###################################################### |
85 | 89 | ## Controllers that are profile-specific (for profile admins ) |
86 | 90 | ###################################################### | ... | ... |
db/migrate/20100827175629_add_presence_status_to_users.rb
0 → 100644
... | ... | @@ -0,0 +1,11 @@ |
1 | +class AddPresenceStatusToUsers < ActiveRecord::Migration | |
2 | + def self.up | |
3 | + add_column :users, :last_presence_status, :string, :default => '' | |
4 | + add_column :users, :presence_status, :string, :default => '' | |
5 | + end | |
6 | + | |
7 | + def self.down | |
8 | + remove_column :users, :last_presence_status | |
9 | + remove_column :users, :presence_status | |
10 | + end | |
11 | +end | ... | ... |
db/schema.rb
... | ... | @@ -381,9 +381,9 @@ ActiveRecord::Schema.define(:version => 20100909103951) do |
381 | 381 | |
382 | 382 | create_table "roles", :force => true do |t| |
383 | 383 | t.string "name" |
384 | - t.text "permissions" | |
385 | 384 | t.string "key" |
386 | 385 | t.boolean "system", :default => false |
386 | + t.text "permissions" | |
387 | 387 | t.integer "environment_id" |
388 | 388 | end |
389 | 389 | |
... | ... | @@ -439,6 +439,8 @@ ActiveRecord::Schema.define(:version => 20100909103951) do |
439 | 439 | t.integer "environment_id" |
440 | 440 | t.string "password_type" |
441 | 441 | t.boolean "enable_email", :default => false |
442 | + t.string "last_presence_status", :default => "" | |
443 | + t.string "presence_status", :default => "" | |
442 | 444 | end |
443 | 445 | |
444 | 446 | create_table "validation_infos", :force => true do |t| | ... | ... |
... | ... | @@ -0,0 +1,57 @@ |
1 | +Feature: chat | |
2 | + As a Noosfero user | |
3 | + I want to chat with my friends | |
4 | + | |
5 | + Background: | |
6 | + Given the following users | |
7 | + | login | name | | |
8 | + | tame | Tame | | |
9 | + | |
10 | + Scenario: provide link to open chat | |
11 | + Given feature "xmpp_chat" is enabled on environment | |
12 | + And I am logged in as "tame" | |
13 | + Then I should see "Open chat" link | |
14 | + | |
15 | + Scenario: not provide link to chat when environment not support that | |
16 | + Given I am logged in as "tame" | |
17 | + Then I should not see "Open chat" link | |
18 | + | |
19 | + Scenario: block access to chat when environment not support that | |
20 | + Given I am logged in as "tame" | |
21 | + When I go to chat | |
22 | + Then I should see "There is no such page" | |
23 | + | |
24 | + Scenario: block access to chat for guest users | |
25 | + Given feature "xmpp_chat" is enabled on environment | |
26 | + When I go to chat | |
27 | + Then I should be on login page | |
28 | + | |
29 | + @selenium | |
30 | + Scenario: open chat in a new window | |
31 | + Given feature "xmpp_chat" is enabled on environment | |
32 | + And I am logged in as "tame" | |
33 | + When I follow "Open chat" | |
34 | + And I select window "noosfero_chat" | |
35 | + Then I should see "Chat - Colivre.net - Friends online (0)" | |
36 | + | |
37 | + @selenium | |
38 | + Scenario: chat starts disconnected by default | |
39 | + Given feature "xmpp_chat" is enabled on environment | |
40 | + And I am logged in as "tame" | |
41 | + And I follow "Open chat" | |
42 | + And I select window "noosfero_chat" | |
43 | + Then I should see "Chat offline" link | |
44 | + | |
45 | + @selenium | |
46 | + Scenario: view options to change my presence status through menu | |
47 | + Given feature "xmpp_chat" is enabled on environment | |
48 | + And I am logged in as "tame" | |
49 | + And I follow "Open chat" | |
50 | + And I select window "noosfero_chat" | |
51 | + Then the "#chat-online" should not be visible | |
52 | + Then the "#chat-busy" should not be visible | |
53 | + Then the "#chat-disconnect" should not be visible | |
54 | + Then I follow "Chat offline" | |
55 | + Then the "#chat-connect" should be visible | |
56 | + Then the "#chat-busy" should be visible | |
57 | + Then the "#chat-disconnect" should be visible | ... | ... |
features/step_definitions/selenium_steps.rb
... | ... | @@ -19,14 +19,14 @@ def string_to_element_locator(selector) |
19 | 19 | end |
20 | 20 | |
21 | 21 | Then /^the "([^\"]*)" should be visible$/ do |selector| |
22 | - selenium.is_visible(string_to_element_locator(selector)).should be_true | |
22 | + (selenium.is_element_present(string_to_element_locator(selector)) && selenium.is_visible(string_to_element_locator(selector))).should be_true | |
23 | 23 | end |
24 | 24 | Then /^the content "([^\"]*)" should be visible$/ do |selector| |
25 | 25 | selenium.is_visible(string_to_element_locator("content=#{selector}")).should be_true |
26 | 26 | end |
27 | 27 | |
28 | 28 | Then /^the "([^\"]*)" should not be visible$/ do |selector| |
29 | - selenium.is_visible(string_to_element_locator(selector)).should be_false | |
29 | + (selenium.is_element_present(string_to_element_locator(selector)) && selenium.is_visible(string_to_element_locator(selector))).should be_false | |
30 | 30 | end |
31 | 31 | Then /^the content "([^\"]*)" should not be visible$/ do |selector| |
32 | 32 | selenium.is_visible(string_to_element_locator("content=#{selector}")).should be_false |
... | ... | @@ -62,6 +62,10 @@ When /^I select "([^\"]*)" and wait for (jquery)$/ do |value, framework| |
62 | 62 | selenium.wait_for(:wait_for => :ajax, :javascript_framework => framework) |
63 | 63 | end |
64 | 64 | |
65 | +When /^I select window "([^\"]*)"$/ do |selector| | |
66 | + selenium.select_window(selector) | |
67 | +end | |
68 | + | |
65 | 69 | #### Noosfero specific steps #### |
66 | 70 | |
67 | 71 | Then /^the select for category "([^\"]*)" should be visible$/ do |name| | ... | ... |
features/support/paths.rb
... | ... | @@ -0,0 +1,116 @@ |
1 | +/* Copyright (c) 2010 Colivre - www.colivre.coop.br | |
2 | +/* Copyright (c) 2009 Marak Squires - www.maraksquires.com | |
3 | + | |
4 | +Permission is hereby granted, free of charge, to any person | |
5 | +obtaining a copy of this software and associated documentation | |
6 | +files (the "Software"), to deal in the Software without | |
7 | +restriction, including without limitation the rights to use, | |
8 | +copy, modify, merge, publish, distribute, sublicense, and/or sell | |
9 | +copies of the Software, and to permit persons to whom the | |
10 | +Software is furnished to do so, subject to the following | |
11 | +conditions: | |
12 | + | |
13 | +The above copyright notice and this permission notice shall be | |
14 | +included in all copies or substantial portions of the Software. | |
15 | + | |
16 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
17 | +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
18 | +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
19 | +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
20 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
21 | +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
22 | +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
23 | +OTHER DEALINGS IN THE SOFTWARE. | |
24 | +*/ | |
25 | + | |
26 | +var emoticons = { | |
27 | + "image_path": '/designs/icons/pidgin/pidgin/emotes/default/', | |
28 | + "emoticon": { | |
29 | + "::smile": { | |
30 | + "image": "mean.png", | |
31 | + "emotes": { | |
32 | + ":-)": "", | |
33 | + ":)": "", | |
34 | + ":]": "", | |
35 | + "=]": "", | |
36 | + "=)": "" | |
37 | + } | |
38 | + }, | |
39 | + "::bigSmile": { | |
40 | + "image": "excited.png", | |
41 | + "emotes": { | |
42 | + ":D": "", | |
43 | + "=D": "", | |
44 | + ":-D": "", | |
45 | + "XD": "", | |
46 | + "BD": "" | |
47 | + } | |
48 | + }, | |
49 | + "::shock": { | |
50 | + "image": "shocked.png", | |
51 | + "emotes": { | |
52 | + ":O": "", | |
53 | + ":0": "", | |
54 | + "=O": "", | |
55 | + ":-0": "", | |
56 | + ":-O": "" | |
57 | + | |
58 | + } | |
59 | + }, | |
60 | + "::frown": { | |
61 | + "image": "sad.png", | |
62 | + "emotes": { | |
63 | + ":-(": "", | |
64 | + "=(": "", | |
65 | + ":[": "", | |
66 | + ":<": "", | |
67 | + "=[": "", | |
68 | + ":(": "", | |
69 | + ":-\\": "" | |
70 | + } | |
71 | + }, | |
72 | + "::tongue": { | |
73 | + "image": "tongue.png", | |
74 | + "emotes": { | |
75 | + ":P": "", | |
76 | + "=P": "", | |
77 | + "XP": "", | |
78 | + } | |
79 | + }, | |
80 | + "::bored": { | |
81 | + "image": "thinking.png", | |
82 | + "emotes": { | |
83 | + "=I": "", | |
84 | + ":/": "", | |
85 | + ":-\\": "", | |
86 | + ":|": "" | |
87 | + } | |
88 | + }, | |
89 | + "::wink": { | |
90 | + "image": "wink.png", | |
91 | + "emotes": { | |
92 | + ";-)": "", | |
93 | + ";)": "", | |
94 | + ";]": "" | |
95 | + } | |
96 | + }, | |
97 | + "::love": { | |
98 | + "image": "rose.png", | |
99 | + "emotes": { | |
100 | + "<3": "", | |
101 | + "<3": "", | |
102 | + "S2": "", | |
103 | + ":3": "" | |
104 | + } | |
105 | + } | |
106 | + , | |
107 | + "::confused": { | |
108 | + "image": "confused.png", | |
109 | + "emotes": { | |
110 | + ":S": "", | |
111 | + "=S": "", | |
112 | + ":\?": "" | |
113 | + } | |
114 | + } | |
115 | + } | |
116 | +}; | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +.icon-menu-chat, | |
2 | +.icon-menu-online { background-image: url(pidgin/status/16/available.png); background-repeat: no-repeat } | |
3 | +.icon-menu-offline { background-image: url(pidgin/status/16/offline.png); background-repeat: no-repeat } | |
4 | +.icon-menu-busy, | |
5 | +.icon-menu-dnd { background-image: url(pidgin/status/16/busy.png); background-repeat: no-repeat } | |
6 | +.icon-menu-invisible { background-image: url(pidgin/status/16/invisible.png); background-repeat: no-repeat } | |
7 | +.icon-menu-away { background-image: url(pidgin/status/16/away.png); background-repeat: no-repeat } | |
8 | + | |
9 | +.icon-menu-chat-11, | |
10 | +.icon-menu-online-11 { background-image: url(pidgin/status/11/available.png); background-repeat: no-repeat } | |
11 | +.icon-menu-offline-11 { background-image: url(pidgin/status/11/offline.png); background-repeat: no-repeat } | |
12 | +.icon-menu-busy-11, | |
13 | +.icon-menu-dnd-11 { background-image: url(pidgin/status/11/busy.png); background-repeat: no-repeat } | |
14 | +.icon-menu-invisible-11 { background-image: url(pidgin/status/11/invisible.png); background-repeat: no-repeat } | |
15 | +.icon-menu-away-11 { background-image: url(pidgin/status/11/away.png); background-repeat: no-repeat } | ... | ... |
public/designs/icons/tango/style.css
... | ... | @@ -70,4 +70,4 @@ |
70 | 70 | .icon-media-prev { background-image: url(Tango/16x16/actions/media-skip-backward.png) } |
71 | 71 | .icon-media-next { background-image: url(Tango/16x16/actions/media-skip-forward.png) } |
72 | 72 | .icon-lock { background-image: url(Tango/16x16/actions/lock.png) } |
73 | - | |
73 | +.icon-chat { background-image: url(Tango/16x16/apps/internet-group-chat.png) } | ... | ... |
public/designs/themes/base/style.css
... | ... | @@ -86,7 +86,7 @@ body, th, td, input { |
86 | 86 | color: #555753; |
87 | 87 | } |
88 | 88 | |
89 | -#controlpanel, #logout { | |
89 | +#controlpanel, #logout, #openchat { | |
90 | 90 | margin-left: 25px; |
91 | 91 | } |
92 | 92 | |
... | ... | @@ -1310,3 +1310,24 @@ table.profile th { |
1310 | 1310 | .search-results-type-article a:hover { |
1311 | 1311 | text-decoration: underline; |
1312 | 1312 | } |
1313 | + | |
1314 | +/* simplemenu */ | |
1315 | + | |
1316 | +.simplemenu-submenu { | |
1317 | + background: #EEE; | |
1318 | + border: 1px solid #AAA; | |
1319 | + opacity: 0.9; | |
1320 | + text-align: left; | |
1321 | +} | |
1322 | +.user-status .simplemenu-item a { | |
1323 | + color: black; | |
1324 | +} | |
1325 | + | |
1326 | +/* chat */ | |
1327 | + | |
1328 | +#chat-window .history .self-name { | |
1329 | + color: #3F3F90; | |
1330 | +} | |
1331 | +#chat-window .history .other-name { | |
1332 | + color: #7F1F1F; | |
1333 | +} | ... | ... |
public/designs/themes/base/theme.yml
public/designs/themes/noosfero/theme.yml
public/designs/themes/scarletred/theme.yml
1.23 KB
2.2 KB
1.74 KB
1.87 KB
public/javascripts/application.js
... | ... | @@ -124,6 +124,7 @@ function small_loading(element_id, message) { |
124 | 124 | function loading_done(element_id) { |
125 | 125 | $(element_id).removeClassName('loading'); |
126 | 126 | $(element_id).removeClassName('small-loading'); |
127 | + $(element_id).removeClassName('small-loading-dark'); | |
127 | 128 | } |
128 | 129 | function open_loading(message) { |
129 | 130 | jQuery('body').append("<div id='overlay_loading' class='ui-widget-overlay' style='display: none'/><div id='overlay_loading_modal' style='display: none'><p>"+message+"</p><img src='/images/loading-dark.gif'/></div>"); |
... | ... | @@ -271,8 +272,14 @@ function toggleSubmenu(trigger, title, link_list) { |
271 | 272 | submenu.show('slide', { 'direction' : direction }, 'slow'); |
272 | 273 | } |
273 | 274 | |
275 | +function toggleMenu(trigger) { | |
276 | + hideAllSubmenus(); | |
277 | + jQuery(trigger).siblings('.simplemenu-submenu').toggle('slide', {direction: 'up'}, 'slow').toggleClass('opened'); | |
278 | +} | |
279 | + | |
274 | 280 | function hideAllSubmenus() { |
275 | 281 | jQuery('.menu-submenu.up:visible').hide('slide', { 'direction' : 'up' }, 'slow'); |
282 | + jQuery('.simplemenu-submenu:visible').hide('slide', { 'direction' : 'up' }, 'slow').toggleClass('opened'); | |
276 | 283 | jQuery('.menu-submenu.down:visible').hide('slide', { 'direction' : 'down' }, 'slow'); |
277 | 284 | } |
278 | 285 | |
... | ... | @@ -280,6 +287,7 @@ function hideAllSubmenus() { |
280 | 287 | jQuery(document).ready(function() { |
281 | 288 | jQuery('body').click(function() { hideAllSubmenus(); }); |
282 | 289 | jQuery('.menu-submenu-trigger').click(function(e) { e.stopPropagation(); }); |
290 | + jQuery('.simplemenu-trigger').click(function(e) { e.stopPropagation(); }); | |
283 | 291 | }); |
284 | 292 | |
285 | 293 | function input_javascript_ordering_stuff() { |
... | ... | @@ -505,3 +513,35 @@ function display_notice(message) { |
505 | 513 | $noticeBox.click(function() { $(this).hide(); }); |
506 | 514 | setTimeout(function() { $noticeBox.fadeOut('fast'); }, 5000); |
507 | 515 | } |
516 | + | |
517 | +function log(msg) { | |
518 | + jQuery('#log').append('<div></div>').append(document.createTextNode(msg)); | |
519 | +} | |
520 | + | |
521 | +/* XMPP */ | |
522 | + | |
523 | +var noosfero_chat_window = null; | |
524 | +function open_chat_window(self_link) { | |
525 | + if (!noosfero_chat_window || noosfero_chat_window.closed) { | |
526 | + noosfero_chat_window = window.open('/chat','noosfero_chat','width=900,height=500'); | |
527 | + } | |
528 | + noosfero_chat_window.focus(); | |
529 | + return false; | |
530 | +} | |
531 | + | |
532 | +jQuery(function($) { | |
533 | + /* Adds a class to "msie" to the body element if a Microsoft browser is | |
534 | + * detected. This is needed to workaround several of their limitations. | |
535 | + */ | |
536 | + if ( navigator.appVersion.indexOf("MSIE") > -1 ) { | |
537 | + document.body.className += " msie msie" + | |
538 | + navigator.appVersion.replace(/^.*MSIE\s+([0-9]+).*$/, "$1"); | |
539 | + } | |
540 | + | |
541 | + /* Adds a class to "webkit" to the body element if a Webkit based browser | |
542 | + * detected. | |
543 | + */ | |
544 | + if (window.devicePixelRatio) { | |
545 | + $('body').addClass('webkit'); | |
546 | + } | |
547 | +}); | ... | ... |
... | ... | @@ -0,0 +1,410 @@ |
1 | +/* XMPP/Jabber chat related functions */ | |
2 | + | |
3 | +jQuery(function($) { | |
4 | + var Jabber = { | |
5 | + debug: false, | |
6 | + connection: null, | |
7 | + bosh_service: '/http-bind', | |
8 | + presence_status: '', | |
9 | + tab_prefix: 'conversation-', // used to compose jQuery UI tabs and anchors to select then | |
10 | + | |
11 | + templates: { | |
12 | + buddy_item: "<li class='%{presence_status}'><a id='%{jid_id}' class='icon-menu-%{presence_status}-11' href='#'>%{name}</a></li>", | |
13 | + message: "<div class='message %{who}'><img class='avatar' src='%{avatar_url}'/><h5 class='%{who}-name'>%{name}</h5><span class='time'>%{time}</span><p>%{message}</p></div>" | |
14 | + }, | |
15 | + | |
16 | + jid_to_id: function (jid) { | |
17 | + return Strophe.getBareJidFromJid(jid).replace(/@/g, "-").replace(/\./g, "-"); | |
18 | + }, | |
19 | + | |
20 | + insert_or_update_contact: function (jid, name) { | |
21 | + log('Adding or updating ' + jid); | |
22 | + var jid_id = Jabber.jid_to_id(jid); | |
23 | + var contact_html = Jabber.templates.buddy_item | |
24 | + .replace('%{jid_id}', jid_id) | |
25 | + .replace('%{name}', name); | |
26 | + if ($('#' + jid_id).length > 0) { | |
27 | + var presence = $('#' + jid_id).parent('li').attr('class'); | |
28 | + contact_html = contact_html.replace(/%{presence_status}/g, presence); | |
29 | + $('#' + jid_id).parent('li').replaceWith(contact_html); | |
30 | + } else { | |
31 | + contact_html = contact_html.replace(/%{presence_status}/g, 'offline'); | |
32 | + $('#buddy-list .buddy-list').append(contact_html); | |
33 | + } | |
34 | + $('#' + jid_id).data('jid', jid); | |
35 | + $('#' + jid_id).data('name', name); | |
36 | + }, | |
37 | + | |
38 | + update_contact_presence_status: function(jid, presence) { | |
39 | + var icon_class = 'icon-menu-' + presence + '-11'; | |
40 | + var jid_id = Jabber.jid_to_id(jid); | |
41 | + $('#' + jid_id + ", #chat-window .tab a[href='#" + Jabber.tab_prefix + jid_id + "']") | |
42 | + .removeClass() | |
43 | + .addClass(icon_class); | |
44 | + $('#' + jid_id).parent('li').attr('class', presence); | |
45 | + }, | |
46 | + | |
47 | + remove_contact: function(jid) { | |
48 | + var jid_id = Jabber.jid_to_id(jid) | |
49 | + log('Removing contact ' + jid); | |
50 | + $('#' + jid_id).parent('li').remove(); | |
51 | + }, | |
52 | + | |
53 | + show_message: function (jid, body, who) { | |
54 | + jid_id = Jabber.jid_to_id(jid); | |
55 | + if (body) { | |
56 | + var tab_id = '#' + Jabber.tab_prefix + jid_id; | |
57 | + body = $().emoticon(body); | |
58 | + if ($(tab_id).find('.message').length > 0 && $(tab_id).find('.message:last').hasClass(who)) { | |
59 | + $(tab_id).find('.history').find('.message:last').append('<p>' + body + '</p>'); | |
60 | + } | |
61 | + else { | |
62 | + var time = new Date(); | |
63 | + time = time.getHours() + ':' + time.getMinutes(); | |
64 | + name = $('#' + jid_id).html(); | |
65 | + identifier = Strophe.getNodeFromJid(jid); | |
66 | + if (who === "self") { | |
67 | + name = $own_name; | |
68 | + identifier = Strophe.getNodeFromJid(Jabber.connection.jid); | |
69 | + } | |
70 | + var message_html = Jabber.templates.message | |
71 | + .replace('%{message}', body) | |
72 | + .replace(/%{who}/g, who) | |
73 | + .replace('%{time}', time) | |
74 | + .replace('%{name}', name) | |
75 | + .replace('%{avatar_url}', '/chat/avatar/' + identifier); | |
76 | + $('#' + Jabber.tab_prefix + jid_id).find('.history').append(message_html); | |
77 | + } | |
78 | + $(tab_id).find('.history').scrollTo('100%'); | |
79 | + if (who === "other" && $(tab_id).find('.history:visible').length == 0) { | |
80 | + count_unread_messages(jid_id); | |
81 | + } | |
82 | + } | |
83 | + }, | |
84 | + | |
85 | + show_presence_status: function(presence) { | |
86 | + log('Changing my presence status to: ' + presence); | |
87 | + $('#buddy-list .user-status .simplemenu-trigger') | |
88 | + .removeClass('icon-menu-chat') | |
89 | + .removeClass('icon-menu-offline') | |
90 | + .removeClass('icon-menu-dnd') | |
91 | + .addClass('icon-menu-' + (presence || 'offline')) | |
92 | + .find('span').html($presence_status_label[presence]); | |
93 | + }, | |
94 | + | |
95 | + send_presence_status: function(presence) { | |
96 | + Jabber.connection.send($pres().c('show').t(presence).up()); | |
97 | + Jabber.show_presence_status(presence); | |
98 | + }, | |
99 | + | |
100 | + update_chat_title: function () { | |
101 | + var friends_online = $('#buddy-list li:visible').length; | |
102 | + $('#friends-online').text(friends_online); | |
103 | + document.title = $('#title-bar .title').text(); | |
104 | + }, | |
105 | + | |
106 | + on_connect: function (status) { | |
107 | + log('Handler on_connect, status = ' + status); | |
108 | + switch (status) { | |
109 | + case Strophe.Status.CONNECTING: | |
110 | + log('Strophe is connecting.'); | |
111 | + break; | |
112 | + case Strophe.Status.CONNFAIL: | |
113 | + log('Strophe failed to connect.'); | |
114 | + break; | |
115 | + case Strophe.Status.DISCONNECTING: | |
116 | + log('Strophe is disconnecting.'); | |
117 | + $('#buddy-list .toolbar').addClass('small-loading-dark'); | |
118 | + break; | |
119 | + case Strophe.Status.DISCONNECTED: | |
120 | + log('Strophe is disconnected.'); | |
121 | + $('#buddy-list .toolbar').removeClass('small-loading-dark'); | |
122 | + Jabber.show_presence_status(''); | |
123 | + $('#buddy-list ul.buddy-list').html(''); | |
124 | + $('#chat-window .tab a').removeClass().addClass('icon-menu-offline-11'); | |
125 | + break; | |
126 | + case Strophe.Status.CONNECTED: | |
127 | + log('Strophe is connected.'); | |
128 | + case Strophe.Status.ATTACHED: | |
129 | + log('Strophe is attached.'); | |
130 | + $('#buddy-list .toolbar').removeClass('small-loading-dark'); | |
131 | + break; | |
132 | + } | |
133 | + }, | |
134 | + | |
135 | + on_roster: function (iq) { | |
136 | + log('Receiving roster...'); | |
137 | + $(iq).find('item').each(function () { | |
138 | + var jid = jQuery(this).attr('jid'); | |
139 | + var name = jQuery(this).attr('name') || jid; | |
140 | + var jid_id = Jabber.jid_to_id(jid); | |
141 | + Jabber.insert_or_update_contact(jid, name); | |
142 | + }); | |
143 | + // set up presence handler and send initial presence | |
144 | + Jabber.connection.addHandler(Jabber.on_presence, null, "presence"); | |
145 | + Jabber.send_presence_status(Jabber.presence_status); | |
146 | + }, | |
147 | + | |
148 | + on_presence: function (presence) { | |
149 | + var ptype = $(presence).attr('type'); | |
150 | + var full_jid = $(presence).attr('from'); | |
151 | + var jid_id = Jabber.jid_to_id(full_jid); | |
152 | + var jid = Strophe.getBareJidFromJid(full_jid); | |
153 | + log('Receiving presence...'); | |
154 | + if (ptype !== 'error') { | |
155 | + if (ptype === 'unavailable') { | |
156 | + Jabber.update_contact_presence_status(full_jid, 'offline'); | |
157 | + } else { | |
158 | + var show = $(presence).find("show").text(); | |
159 | + log('Presence status received from ' + jid + ' with status ' + show); | |
160 | + if (show === "" || show === "chat") { | |
161 | + Jabber.update_contact_presence_status(full_jid, 'chat'); | |
162 | + } | |
163 | + else if (show === "dnd" || show === "xa") { | |
164 | + Jabber.update_contact_presence_status(full_jid, 'dnd'); | |
165 | + } | |
166 | + else { | |
167 | + Jabber.update_contact_presence_status(full_jid, 'away'); | |
168 | + } | |
169 | + | |
170 | + // TODO get photo from vcard | |
171 | + // var avatar_hash = $(presence).find('x[xmlns=vcard-temp:x:update] photo'); | |
172 | + // if (avatar_hash.length > 0) { | |
173 | + // log('> this contact has an vcard avatar'); | |
174 | + // Jabber.get_avatar(jid, avatar_hash); | |
175 | + // } | |
176 | + | |
177 | + } | |
178 | + Jabber.update_chat_title(); | |
179 | + } | |
180 | + return true; | |
181 | + }, | |
182 | + | |
183 | + // TODO get photo from vcard | |
184 | + // get_avatar: function(jid, avatar_hash) { | |
185 | + // var vcard_iq = $iq({type: 'get', from: Jabber.own_jid, to: jid}).c('vCard').attrs({xmlns: 'vcard-temp'}); | |
186 | + // log('> sending iq stanza to get avatar:' + vcard_iq.toString()); | |
187 | + // Jabber.connection.sendIQ(vcard_iq, | |
188 | + // function(iq) { | |
189 | + // log('Receiving vcard...'); | |
190 | + // }, | |
191 | + // function(iq) { | |
192 | + // log('Error on receive vcard!'); | |
193 | + // log('> error code = ' + $(iq).find('error').attr('code')); | |
194 | + // } | |
195 | + // ); | |
196 | + // }, | |
197 | + | |
198 | + on_roster_changed: function (iq) { | |
199 | + log('Recenving roster changed...'); | |
200 | + $(iq).find('item').each(function () { | |
201 | + var sub = $(this).attr('subscription'); | |
202 | + var jid = $(this).attr('jid'); | |
203 | + var name = $(this).attr('name') || jid; | |
204 | + if (sub === 'remove') { | |
205 | + // contact is being removed | |
206 | + Jabber.remove_contact(jid); | |
207 | + } else { | |
208 | + // contact is being added or modified | |
209 | + Jabber.insert_or_update_contact(jid, name); | |
210 | + } | |
211 | + }); | |
212 | + return true; | |
213 | + }, | |
214 | + | |
215 | + on_message: function (message) { | |
216 | + var full_jid = $(message).attr('from'); | |
217 | + var jid = Strophe.getBareJidFromJid(full_jid); | |
218 | + var jid_id = Jabber.jid_to_id(jid); | |
219 | + var body = $(message).find('body').text(); | |
220 | + log('Receiving message from ' + jid); | |
221 | + log('> ' + body); | |
222 | + var name = $('#' + jid_id).data('name'); | |
223 | + create_conversation_tab(name, jid_id); | |
224 | + Jabber.show_message(jid, body, 'other'); | |
225 | + return true; | |
226 | + }, | |
227 | + | |
228 | + attach_connection: function(data) { | |
229 | + // create the connection and attach it | |
230 | + Jabber.connection = new Strophe.Connection(Jabber.bosh_service); | |
231 | + | |
232 | + // uncomment for extra debugging | |
233 | + // Strophe.log = function (lvl, msg) { log(msg); }; | |
234 | + Jabber.connection.attach(data.jid, data.sid, data.rid, Jabber.on_connect); | |
235 | + | |
236 | + // handle get roster list (buddy list) | |
237 | + Jabber.connection.sendIQ($iq({type: 'get'}).c('query', {xmlns: Strophe.NS.ROSTER}), Jabber.on_roster); | |
238 | + | |
239 | + // handle presence updates in roster list | |
240 | + Jabber.connection.addHandler(Jabber.on_roster_changed, 'jabber:iq:roster', 'iq', 'set'); | |
241 | + | |
242 | + // Handle messages | |
243 | + Jabber.connection.addHandler(Jabber.on_message, null, "message", "chat"); | |
244 | + }, | |
245 | + | |
246 | + connect: function() { | |
247 | + if (Jabber.connection && Jabber.connection.connected) { | |
248 | + Jabber.send_presence_status(Jabber.presence_status); | |
249 | + } | |
250 | + else { | |
251 | + log('Starting BOSH session...'); | |
252 | + $('#buddy-list .toolbar').removeClass('small-loading-dark').addClass('small-loading-dark'); | |
253 | + $('.dialog-error').hide(); | |
254 | + $.ajax({ | |
255 | + url: '/chat/start_session', | |
256 | + dataType: 'json', | |
257 | + success: function(data) { | |
258 | + Jabber.attach_connection(data) | |
259 | + $.get('/chat/update_presence_status', { presence_status: Jabber.presence_status }); | |
260 | + }, | |
261 | + error: function(error) { | |
262 | + $('#buddy-list .toolbar').removeClass('small-loading-dark'); | |
263 | + $('#buddy-list .dialog-error') | |
264 | + .html(error.responseText) | |
265 | + .show('highlight') | |
266 | + .unbind('click') | |
267 | + .click(function() { $(this).hide('highlight'); }); | |
268 | + } | |
269 | + }); | |
270 | + } | |
271 | + } | |
272 | + }; | |
273 | + | |
274 | + $('#chat-connect,.chat-connect').live('click', function() { | |
275 | + Jabber.presence_status = 'chat'; | |
276 | + Jabber.connect(); | |
277 | + }); | |
278 | + | |
279 | + $('#chat-disconnect').click(function() { | |
280 | + if (Jabber.connection && Jabber.connection.connected) { | |
281 | + Jabber.connection.disconnect(); | |
282 | + $.get('/chat/update_presence_status', { presence_status: '' }); | |
283 | + } | |
284 | + }); | |
285 | + | |
286 | + $('#chat-busy').click(function() { | |
287 | + Jabber.presence_status = 'dnd'; | |
288 | + Jabber.connect(); | |
289 | + }); | |
290 | + | |
291 | + // save presence_status as offline in Noosfero database when close or reload chat window | |
292 | + $(window).unload(function() { | |
293 | + $.get('/chat/update_presence_status', { presence_status: '', closing_window: true }); | |
294 | + }); | |
295 | + | |
296 | + jQuery(function() { | |
297 | + if (Jabber.debug) | |
298 | + $('body').append("<div id='log'></div>"); | |
299 | + }); | |
300 | + | |
301 | + $('.conversation textarea').live('keydown', function(e) { | |
302 | + if (e.keyCode == 13) { | |
303 | + var jid = $(this).attr('data-to'); | |
304 | + var body = $(this).val(); | |
305 | + var message = $msg({to: jid, "type": "chat"}) | |
306 | + .c('body').t(body).up() | |
307 | + .c('active', {xmlns: "http://jabber.org/protocol/chatstates"}); | |
308 | + Jabber.connection.send(message); | |
309 | + Jabber.show_message(jid, body, 'self'); | |
310 | + $(this).val(''); | |
311 | + return false; | |
312 | + } | |
313 | + }); | |
314 | + | |
315 | + function create_conversation_tab(title, id) { | |
316 | + if (! $('#' + Jabber.tab_prefix + id).length > 0) { | |
317 | + // opening chat with selected online friend | |
318 | + var tab = $tabs.tabs('add', '#' + Jabber.tab_prefix + id, title); | |
319 | + var jid = $('#' + id).data('jid'); | |
320 | + $("a[href='#" + Jabber.tab_prefix + id + "']").addClass($('#' + id).attr('class')); | |
321 | + $('#' + Jabber.tab_prefix + id).find('textarea').attr('data-to', jid); | |
322 | + } | |
323 | + } | |
324 | + | |
325 | + function count_unread_messages(jid_id, clear) { | |
326 | + if (clear) { | |
327 | + $('a[href=#conversation-' + jid_id + ']').find('.unread-messages').hide(); | |
328 | + $('#' + jid_id).data('unread_messages', 0); | |
329 | + $('a[href=#conversation-' + jid_id + ']').find('.unread-messages').text(''); | |
330 | + document.alert_title = null; | |
331 | + } | |
332 | + else { | |
333 | + $('a[href=#conversation-' + jid_id + ']').find('.unread-messages').show(); | |
334 | + var unread_messages = $('#' + jid_id).data('unread_messages') || 0; | |
335 | + $('#' + jid_id).data('unread_messages', ++unread_messages); | |
336 | + $('a[href=#conversation-' + jid_id + ']').find('.unread-messages').text(unread_messages); | |
337 | + var name = jQuery('#' + jid_id).data('name'); | |
338 | + document.alert_title = '*' + name + '* ' + document.title; | |
339 | + } | |
340 | + } | |
341 | + | |
342 | + // open new conversation or change to already opened tab | |
343 | + $('#buddy-list .buddy-list li').find('a').live('click', function() { | |
344 | + var tab_title = $(this).data('name'); | |
345 | + var tab_identifier = $(this).attr('id'); | |
346 | + create_conversation_tab(tab_title, tab_identifier); | |
347 | + // immediately select tab | |
348 | + $tabs.tabs('select', '#conversation-' + tab_identifier); | |
349 | + }); | |
350 | + | |
351 | + // creating tabs | |
352 | + var $tabs = $('#chat-window #tabs').tabs({ | |
353 | + tabTemplate: '<li class="tab"><a href="#{href}"><span class="unread-messages" style="display:none"></span>#{label}</a><span class="ui-icon ui-icon-close">Remove Tab</span></li>', | |
354 | + panelTemplate: "<div class='conversation'><div class='history'></div><div class='input-div'><div class='icon-chat'></div><textarea class='input'></textarea></div></div>", | |
355 | + add: function(event, ui) { | |
356 | + $(ui.panel).find('.history').append("<span class='notify'>" + $starting_chat_notify.replace('%{name}', $(ui.tab).html()) + "</span>"); | |
357 | + // define textarea name as '<TAB_ID>' | |
358 | + $(ui.panel).find('textarea').attr('name', ui.panel.id); | |
359 | + }, | |
360 | + remove: function(event, ui) { | |
361 | + // TODO notify window close | |
362 | + }, | |
363 | + show: function(event, ui) { | |
364 | + $(ui.panel).find('.history').scrollTo('100%'); | |
365 | + $(ui.panel).find('textarea').focus(); | |
366 | + var jid_id = ui.panel.id.replace('conversation-', ''); | |
367 | + count_unread_messages(jid_id, true); | |
368 | + } | |
369 | + }).scrollabletab(); | |
370 | + | |
371 | + // remove some unnecessary css classes to apply style for tabs in bottom | |
372 | + $(".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *") | |
373 | + .removeClass("ui-corner-all ui-corner-top ui-helper-clearfix"); | |
374 | + $('#chat-window #tabs').removeClass("ui-corner-all ui-widget-content"); | |
375 | + | |
376 | + // positionting scrollabletab wrapper at bottom and tabs next/prev buttons | |
377 | + $('#stTabswrapper,#tabs').css('position', 'absolute').css('top', 0).css('bottom', 0).css('left', 0).css('right', 0); | |
378 | + $('.stNavWrapper').css('position', 'absolute').css('bottom', 0).css('left', 0).css('right', 0) | |
379 | + .find('.stNav').css('top', null).css('bottom', '12px').css('height', '22px') | |
380 | + .find('.ui-icon').css('margin-top', '2px'); | |
381 | + $('.webkit .stNavWrapper .stNav').css('height', '20px'); | |
382 | + | |
383 | + // close icon: removing the tab on click | |
384 | + $('.tabs-bottom span.ui-icon-close').live('click', function() { | |
385 | + var index = $('li', $tabs).index($(this).parent()); | |
386 | + $tabs.tabs('remove', index); | |
387 | + }); | |
388 | + | |
389 | + // blink window title alerting about new unread messages | |
390 | + $(window).load(function() { | |
391 | + $(document).blur(function() { | |
392 | + setTimeout(function() { | |
393 | + window.blinkInterval = setInterval(function() { | |
394 | + if (document.title.match(/\*.+\* .+/)) { | |
395 | + document.title = document.title.replace(/\*.+\* /g, ''); | |
396 | + } | |
397 | + else if (document.alert_title) { | |
398 | + document.title = document.alert_title; | |
399 | + }}, 2000 | |
400 | + ); | |
401 | + }, 2000); | |
402 | + }, false); | |
403 | + $(document).focus(function() { | |
404 | + clearInterval(window.blinkInterval); | |
405 | + document.alert_title = null; | |
406 | + document.title = document.title.replace(/\*.+\* /g, ''); | |
407 | + }, false); | |
408 | + }); | |
409 | + | |
410 | +}); | ... | ... |
... | ... | @@ -0,0 +1,53 @@ |
1 | +/* Copyright (c) 2010 Colivre - www.colivre.coop.br | |
2 | + Copyright (c) 2009 Marak Squires - www.maraksquires.com | |
3 | + | |
4 | +Permission is hereby granted, free of charge, to any person | |
5 | +obtaining a copy of this software and associated documentation | |
6 | +files (the "Software"), to deal in the Software without | |
7 | +restriction, including without limitation the rights to use, | |
8 | +copy, modify, merge, publish, distribute, sublicense, and/or sell | |
9 | +copies of the Software, and to permit persons to whom the | |
10 | +Software is furnished to do so, subject to the following | |
11 | +conditions: | |
12 | + | |
13 | +The above copyright notice and this permission notice shall be | |
14 | +included in all copies or substantial portions of the Software. | |
15 | + | |
16 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
17 | +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
18 | +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
19 | +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
20 | +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
21 | +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
22 | +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
23 | +OTHER DEALINGS IN THE SOFTWARE. | |
24 | + | |
25 | +*/ | |
26 | + | |
27 | +/* we need to extend the RegExp object so we can remote regex special chars from emotes */ | |
28 | +RegExp.escape = function(text) { | |
29 | + if (!arguments.callee.sRE) { | |
30 | + var specials = [ | |
31 | + '/', '.', '*', '+', '?', '|', | |
32 | + '(', ')', '[', ']', '{', '}', '\\' | |
33 | + ]; | |
34 | + arguments.callee.sRE = new RegExp( | |
35 | + '(\\' + specials.join('|\\') + ')', 'g' | |
36 | + ); | |
37 | + } | |
38 | + return text.replace(arguments.callee.sRE, '\\$1'); | |
39 | +} | |
40 | + | |
41 | +;(function($){ | |
42 | + $.fn.emoticon = function(theText) { | |
43 | + var newText = theText; | |
44 | + for( var a in emoticons.emoticon ) { | |
45 | + emoticon = emoticons.emoticon[a]; | |
46 | + for( var emote in emoticon.emotes ) { | |
47 | + emote = RegExp.escape(emote); | |
48 | + newText = newText.replace( new RegExp( emote, 'gi' ), '<img src="'+emoticons.image_path + emoticon.image + '" />'); | |
49 | + } | |
50 | + } | |
51 | + return newText; | |
52 | + }; | |
53 | +})(jQuery); | ... | ... |
... | ... | @@ -0,0 +1,277 @@ |
1 | +/** | |
2 | + * jQuery.ScrollableTab - Scrolling multiple tabs. | |
3 | + * @copyright (c) 2010 Astun Technology Ltd - http://www.astuntechnology.com | |
4 | + * Dual licensed under MIT and GPL. | |
5 | + * Date: 28/04/2010 | |
6 | + * @author Aamir Afridi - aamirafridi(at)gmail(dot)com | http://www.aamirafridi.com | |
7 | + * @version 1.01 | |
8 | + */ | |
9 | + | |
10 | +;(function($){ | |
11 | + //Global plugin settings | |
12 | + var settings = { | |
13 | + 'animationSpeed' : 100, //The speed in which the tabs will animate/scroll | |
14 | + 'closable' : false, //Make tabs closable | |
15 | + 'resizable' : false, //Alow resizing the tabs container | |
16 | + 'resizeHandles' : 'e,s,se', //Resizable in North, East and NorthEast directions | |
17 | + 'loadLastTab':false, //When tabs loaded, scroll to the last tab - default is the first tab | |
18 | + 'easing':'swing' //The easing equation | |
19 | + } | |
20 | + | |
21 | + $.fn.scrollabletab = function(options){ | |
22 | + //Check if scrollto plugin is available - (pasted the plugin at the end of this plugin) | |
23 | + //if(!$.fn.scrollTo) return alert('Error:\nScrollTo plugin not available.'); | |
24 | + | |
25 | + return this.each(function(){ | |
26 | + var o = $.extend({}, settings, options), //Extend the options if any provided | |
27 | + $tabs = $(this), | |
28 | + $tabsNav = $tabs.find('.ui-tabs-nav'), | |
29 | + $nav;//will save the refrence for the wrapper having next and previous buttons | |
30 | + | |
31 | + //Adjust the css class | |
32 | + //$tabsNav.removeClass('ui-corner-all').addClass('ui-corner-top'); | |
33 | + $tabs.css({'padding':2, 'position':'relative'}); | |
34 | + //$tabsNav.css('position','inherit'); | |
35 | + | |
36 | + //Wrap inner items | |
37 | + $tabs.wrap('<div id="stTabswrapper" class="stTabsMainWrapper" style="position:relative"/>').find('.ui-tabs-nav').css('overflow','hidden').wrapInner('<div class="stTabsInnerWrapper" style="width:30000px"><span class="stWidthChecker"/></div>'); | |
38 | + | |
39 | + var $widthChecker = $tabs.find('.stWidthChecker'), | |
40 | + $itemContainer = $tabs.find('.stTabsInnerWrapper'), | |
41 | + $tabsWrapper = $tabs.parents('#stTabswrapper').width($tabs.outerWidth(true)); | |
42 | + //Fixing safari bug | |
43 | + if($.browser.safari) | |
44 | + { | |
45 | + $tabsWrapper.width($tabs.width()+6); | |
46 | + } | |
47 | + //alert($tabsWrapper.width()); | |
48 | + if(o.resizable) | |
49 | + { | |
50 | + if(!!$.fn.resizable) | |
51 | + { | |
52 | + $tabsWrapper.resizable({ | |
53 | + minWidth : $tabsWrapper.width(), | |
54 | + maxWidth : $tabsWrapper.width()*2, | |
55 | + minHeight : $tabsWrapper.height(), | |
56 | + maxHeight : $tabsWrapper.height()*2, | |
57 | + handles : o.resizeHandles, | |
58 | + alsoResize: $tabs, | |
59 | + //start : function(){ }, | |
60 | + resize: function(){ | |
61 | + $tabs.trigger('resized'); | |
62 | + } | |
63 | + //stop: function(){ $tabs.trigger('scrollToTab',$tabsNav.find('li.ui-tabs-selected')); } | |
64 | + }); | |
65 | + } | |
66 | + else | |
67 | + { | |
68 | + alert('Error:\nCannot be resizable because "jQuery.resizable" plugin is not available.'); | |
69 | + } | |
70 | + } | |
71 | + | |
72 | + | |
73 | + //Add navigation icons | |
74 | + //Total height of nav/2 - total height of arrow/2 | |
75 | + var arrowsTopMargin = (parseInt(parseInt($tabsNav.innerHeight(true)/2)-8)), | |
76 | + arrowsCommonCss={'cursor':'pointer','z-index':1000,'position':'absolute','top':3,'height':$tabsNav.outerHeight()-($.browser.safari ? 2 : 1)}; | |
77 | + $tabsWrapper.prepend( | |
78 | + $nav = $("<div class='stNavWrapper'/>") | |
79 | + .disableSelection() | |
80 | + .css({'position':'relative','z-index':3000,'display':'none'}) | |
81 | + .append( | |
82 | + $("<span class='stExtraSpan'/>") | |
83 | + .disableSelection() | |
84 | + .attr('title','Previous tab') | |
85 | + .css(arrowsCommonCss) | |
86 | + .addClass('ui-state-active ui-corner-tl ui-corner-bl stPrev stNav') | |
87 | + .css('left',3) | |
88 | + .append($("<span class='stExtraSpan'/>").disableSelection().addClass('ui-icon ui-icon-carat-1-w').html('Previous tab').css('margin-top',arrowsTopMargin)) | |
89 | + .click(function(){ | |
90 | + //Check if disabled | |
91 | + if($(this).hasClass('ui-state-disabled')) return; | |
92 | + //Just select the previous tab and trigger scrollToTab event | |
93 | + prevIndex = $tabsNav.find('li.ui-tabs-selected').prevAll().length-1 | |
94 | + //Now select the tab | |
95 | + $tabsNav.find('li').eq(prevIndex).find('a').trigger('click'); | |
96 | + return false; | |
97 | + }), | |
98 | + $("<span class='stExtraSpan'/>") | |
99 | + .disableSelection() | |
100 | + .attr('title','Next tab') | |
101 | + .css(arrowsCommonCss) | |
102 | + .addClass('ui-state-active ui-corner-tr ui-corner-br stNext stNav') | |
103 | + .css({'right':3}) | |
104 | + .append($("<span class='stExtraSpan'/>").addClass('ui-icon ui-icon-carat-1-e').html('Next tab').css('margin-top',arrowsTopMargin)) | |
105 | + .click(function(){ | |
106 | + //Just select the previous tab and trigger scrollToTab event | |
107 | + nextIndex = $tabsNav.find('li.ui-tabs-selected').prevAll().length+1 | |
108 | + //Now select the tab | |
109 | + $tabsNav.find('li').eq(nextIndex).find('a').trigger('click'); | |
110 | + return false; | |
111 | + }) | |
112 | + ) | |
113 | + ); | |
114 | + | |
115 | + //Bind events to the $tabs | |
116 | + $tabs | |
117 | + .bind('tabsremove', function(){ | |
118 | + $tabs.trigger('scrollToTab').trigger('navHandler').trigger('navEnabler'); | |
119 | + }) | |
120 | + .bind('addCloseButton',function(){ | |
121 | + //Add close button if require | |
122 | + if(!o.closable) return; | |
123 | + $(this).find('.ui-tabs-nav li').each(function(){ | |
124 | + if($(this).find('.ui-tabs-close').length>0) return; //Already has close button | |
125 | + var closeTopMargin = parseInt(parseInt($tabsNav.find('li:first').innerHeight()/2,10)-8); | |
126 | + $(this).disableSelection().append( | |
127 | + $('<span style="float:left;cursor:pointer;margin:'+closeTopMargin+'px 2px 0 -11px" class="ui-tabs-close ui-icon ui-icon-close" title="Close this tab"></span>') | |
128 | + .click(function() | |
129 | + { | |
130 | + $tabs.tabs('remove',$(this).parents('li').prevAll().length); | |
131 | + //If one tab remaining than hide the close button | |
132 | + if($tabs.tabs('length')==1) | |
133 | + { | |
134 | + $tabsNav.find('.ui-icon-close').hide(); | |
135 | + } | |
136 | + else | |
137 | + { | |
138 | + $tabsNav.find('.ui-icon-close').show(); | |
139 | + } | |
140 | + //Call the method when tab is closed (if any) | |
141 | + if($.isFunction(o.onTabClose)) | |
142 | + { | |
143 | + o.onTabClose(); | |
144 | + } | |
145 | + return false; | |
146 | + }) | |
147 | + ); | |
148 | + //Show all close buttons if any hidden | |
149 | + $tabsNav.find('.ui-icon-close').show(); | |
150 | + }); | |
151 | + }) | |
152 | + .bind('tabsadd',function(event){ | |
153 | + //Select it on Add | |
154 | + $tabs.tabs('select',$tabs.tabs('length')-1); | |
155 | + //Now remove the extra span added to the tab (not needed) | |
156 | + $lastTab = $tabsNav.find('li:last'); | |
157 | + if($lastTab.find('a span.stExtraSpan').length>0) $lastTab.find('a').html($lastTab.find('a span').html()); | |
158 | + //Move the li to the innerwrapper | |
159 | + $lastTab.appendTo($widthChecker); | |
160 | + //Scroll the navigation to the newly added tab and also add close button to it | |
161 | + $tabs | |
162 | + .trigger('addCloseButton') | |
163 | + .trigger('bindTabClick') | |
164 | + .trigger('navHandler') | |
165 | + .trigger('scrollToTab'); | |
166 | + })//End tabsadd | |
167 | + .bind('addTab',function(event,label,content){ | |
168 | + //Generate a random id | |
169 | + var tabid = 'stTab-'+(Math.floor(Math.random()*10000)); | |
170 | + //Append the content to the body | |
171 | + $('body').append($('<div id="'+tabid+'"/>').append(content)); | |
172 | + //Add the tab | |
173 | + $tabs.tabs('add','#'+tabid,label); | |
174 | + })//End addTab | |
175 | + .bind('bindTabClick',function(){ | |
176 | + //Handle scroll when user manually click on a tab | |
177 | + $tabsNav.find('a').click(function(){ | |
178 | + var $liClicked = $(this).parents('li'); | |
179 | + var navWidth = $nav.find('.stPrev').outerWidth(true); | |
180 | + //debug('left='+($liClicked.offset().left)+' and tabs width = '+ ($tabs.width()-navWidth)); | |
181 | + if(($liClicked.position().left-navWidth)<0) | |
182 | + { | |
183 | + $tabs.trigger('scrollToTab',[$liClicked,'tabClicked','left']) | |
184 | + } | |
185 | + else if(($liClicked.outerWidth()+$liClicked.position().left)>($tabs.width()-navWidth)) | |
186 | + { | |
187 | + $tabs.trigger('scrollToTab',[$liClicked,'tabClicked','right']) | |
188 | + } | |
189 | + //Enable or disable next and prev arrows | |
190 | + $tabs.trigger('navEnabler'); | |
191 | + return false; | |
192 | + }); | |
193 | + }) | |
194 | + //Bind the event to act when tab is added | |
195 | + .bind('scrollToTab',function(event,$tabToScrollTo,clickedFrom,hiddenOnSide){ | |
196 | + //If tab not provided than scroll to the last tab | |
197 | + $tabToScrollTo = (typeof $tabToScrollTo!='undefined') ? $($tabToScrollTo) : $tabsNav.find('li.ui-tabs-selected'); | |
198 | + //Scroll the pane to the last tab | |
199 | + var navWidth = $nav.is(':visible') ? $nav.find('.stPrev').outerWidth(true) : 0; | |
200 | + //debug($tabToScrollTo.prevAll().length) | |
201 | + | |
202 | + offsetLeft = -($tabs.width()-($tabToScrollTo.outerWidth(true)+navWidth+parseInt($tabsNav.find('li:last').css('margin-right'),10))); | |
203 | + offsetLeft = (clickedFrom=='tabClicked' && hiddenOnSide=='left') ? -navWidth : offsetLeft; | |
204 | + offsetLeft = (clickedFrom=='tabClicked' && hiddenOnSide=='right') ? offsetLeft : offsetLeft; | |
205 | + //debug(offsetLeft); | |
206 | + var scrollSettings = { 'axis':'x', 'margin':true, 'offset': {'left':offsetLeft}, 'easing':o.easing||'' } | |
207 | + //debug(-($tabs.width()-(116+navWidth))); | |
208 | + $tabsNav.scrollTo($tabToScrollTo,o.animationSpeed,scrollSettings); | |
209 | + }) | |
210 | + .bind('navEnabler',function(){ | |
211 | + setTimeout(function(){ | |
212 | + //Check if last or first tab is selected than disable the navigation arrows | |
213 | + var isLast = $tabsNav.find('.ui-tabs-selected').is(':last-child'), | |
214 | + isFirst = $tabsNav.find('.ui-tabs-selected').is(':first-child'), | |
215 | + $ntNav = $tabsWrapper.find('.stNext'), | |
216 | + $pvNav = $tabsWrapper.find('.stPrev'); | |
217 | + //debug('isLast = '+isLast+' - isFirst = '+isFirst); | |
218 | + if(isLast) | |
219 | + { | |
220 | + $pvNav.removeClass('ui-state-disabled'); | |
221 | + $ntNav.addClass('ui-state-disabled'); | |
222 | + } | |
223 | + else if(isFirst) | |
224 | + { | |
225 | + $ntNav.removeClass('ui-state-disabled'); | |
226 | + $pvNav.addClass('ui-state-disabled'); | |
227 | + } | |
228 | + else | |
229 | + { | |
230 | + $ntNav.removeClass('ui-state-disabled'); | |
231 | + $pvNav.removeClass('ui-state-disabled'); | |
232 | + } | |
233 | + },o.animationSpeed); | |
234 | + }) | |
235 | + //Now check if tabs need navigation (many tabs out of sight) | |
236 | + .bind('navHandler',function(){ | |
237 | + //Check the width of $widthChecker against the $tabsNav. If widthChecker has bigger width than show the $nav else hide it | |
238 | + if($widthChecker.width()>$tabsNav.width()) | |
239 | + { | |
240 | + $nav.show(); | |
241 | + //Put some margin to the first tab to make it visible if selected | |
242 | + $tabsNav.find('li:first').css('margin-left',$nav.find('.stPrev').outerWidth(true)); | |
243 | + } | |
244 | + else | |
245 | + { | |
246 | + $nav.hide(); | |
247 | + //Remove the margin from the first element | |
248 | + $tabsNav.find('li:first').css('margin-left',0); | |
249 | + } | |
250 | + }) | |
251 | + .bind('tabsselect', function() { | |
252 | + //$tabs.trigger('navEnabler'); | |
253 | + }) | |
254 | + .bind('resized', function() { | |
255 | + $tabs.trigger('navHandler'); | |
256 | + $tabs.trigger('scrollToTab',$tabsNav.find('li.ui-tabs-selected')); | |
257 | + }) | |
258 | + //To add close buttons to the already existing tabs | |
259 | + .trigger('addCloseButton') | |
260 | + .trigger('bindTabClick') | |
261 | + //For the tabs that already exists | |
262 | + .trigger('navHandler') | |
263 | + .trigger('navEnabler'); | |
264 | + | |
265 | + //Select last tab if option is true | |
266 | + if(o.loadLastTab) | |
267 | + { | |
268 | + setTimeout(function(){$tabsNav.find('li:last a').trigger('click')},o.animationSpeed); | |
269 | + } | |
270 | + }); | |
271 | + | |
272 | + //Just for debuging | |
273 | + function debug(obj) | |
274 | + {console.log(obj)} | |
275 | + } | |
276 | +})(jQuery); | |
277 | + | ... | ... |
... | ... | @@ -0,0 +1,19 @@ |
1 | +Copyright (c) 2006-2009 Collecta, Inc. | |
2 | + | |
3 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
4 | +of this software and associated documentation files (the "Software"), to deal | |
5 | +in the Software without restriction, including without limitation the rights | |
6 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
7 | +copies of the Software, and to permit persons to whom the Software is | |
8 | +furnished to do so, subject to the following conditions: | |
9 | + | |
10 | +The above copyright notice and this permission notice shall be included in | |
11 | +all copies or substantial portions of the Software. | |
12 | + | |
13 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
14 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
15 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
16 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
17 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
18 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
19 | +THE SOFTWARE. | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +Strophe.js is a JavaScript library for speaking XMPP via BOSH (XEP 124 | |
2 | +and 206). It is licensed under the MIT license, except for the files | |
3 | +base64.js and md5.js, which are licensed as public domain and | |
4 | +BSD (see these files for details). | |
5 | + | |
6 | +It has been tested on Firefox 1.5, 2.x, and 3.x, IE 6, 7, and 8, Safari, Mobile | |
7 | +Safari, Chrome, and it should also work on the mobile Opera browser as | |
8 | +well as the desktop Opera browser. | |
9 | + | |
10 | +The homepage for Strophe is http://code.stanziq.com/strophe. | |
11 | + | |
12 | +The book Professional XMPP Programming with JavaScript and jQuery is | |
13 | +also available, which covers Strophe in detail in the context of web | |
14 | +applications. You can find more information at | |
15 | +http://professionalxmpp.com. | ... | ... |
public/javascripts/strophejs-1.0.1/contrib/discojs/README.txt
0 → 100644
... | ... | @@ -0,0 +1,42 @@ |
1 | +Disco Dancing with XMPP | |
2 | + | |
3 | + There are many things one can do via XMPP. The list is | |
4 | + endlist. But one thing that some forget about is discovering | |
5 | + services a XMPP entity or server provides. In most cases a human or | |
6 | + user does not care about this information and should not care. But | |
7 | + you may have a website or web application that needs this | |
8 | + information in order to decide what options to show to your | |
9 | + users. You can do this very easily with JQuery, Strophe, and | |
10 | + Punjab. | |
11 | + | |
12 | + We start with Punjab or a BOSH connection manager. This is | |
13 | + needed so we can connect to a XMPP server. First, lets download | |
14 | + punjab. | |
15 | + | |
16 | + svn co https://code.stanziq.com/svn/punjab/trunk punjab | |
17 | + | |
18 | + After we have punjab go into the directory and install punjab. | |
19 | + | |
20 | + cd punjab | |
21 | + python setup.py install | |
22 | + | |
23 | + Then create a .tac file to configure Punjab. | |
24 | + | |
25 | + See punjab.tac | |
26 | + | |
27 | + Next, we will need Strophe. Lets download thelatest version from | |
28 | + svn too. | |
29 | + | |
30 | + cd /directory/where/you/configured/punjab/html | |
31 | + | |
32 | + svn co https://code.stanziq.com/svn/strophe/trunk/strophejs | |
33 | + | |
34 | + In your html directory you will then begin to create your disco browser. | |
35 | + | |
36 | + Version 1 we take the basic example and modify it to do disco. | |
37 | + | |
38 | + Version 2 we add anonymous login | |
39 | + | |
40 | + Version 3 we make it pretty | |
41 | + | |
42 | + Version 4 we add handlers for different services | ... | ... |
public/javascripts/strophejs-1.0.1/contrib/discojs/css/disco.css
0 → 100644
public/javascripts/strophejs-1.0.1/contrib/discojs/index.html
0 → 100644
... | ... | @@ -0,0 +1,47 @@ |
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
3 | +<head> | |
4 | + <title>XMPP Disco Dancing</title> | |
5 | + <script language='javascript' | |
6 | + type='text/javascript' | |
7 | + src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js'></script> | |
8 | + <script language='javascript' | |
9 | + type='text/javascript' | |
10 | + src='strophejs/b64.js'></script> | |
11 | + <script language='javascript' | |
12 | + type='text/javascript' | |
13 | + src='strophejs/md5.js'></script> | |
14 | + <script language='javascript' | |
15 | + type='text/javascript' | |
16 | + src='strophejs/sha1.js'></script> | |
17 | + <script language='javascript' | |
18 | + type='text/javascript' | |
19 | + src='strophejs/strophe.js'></script> | |
20 | +<script language='javascript' | |
21 | + type='text/javascript' | |
22 | + src='scripts/basic.js'></script> | |
23 | + <script language='javascript' | |
24 | + type='text/javascript' | |
25 | + src='scripts/disco.js'></script> | |
26 | + <link rel="stylesheet" href="css/disco.css" type="text/css" /> | |
27 | +</head> | |
28 | +<body> | |
29 | + <div id='login' style='text-align: center'> | |
30 | + <form id='cred' name='cred'> | |
31 | + <label for='jid'>JID:</label> | |
32 | + <input type='text' class='leftinput' id='jid' /> | |
33 | + <label for='pass'>Password:</label> | |
34 | + <input type='password' class='leftinput' id='pass' /> | |
35 | + <input type='submit' id='connect' value='connect' /> | |
36 | + </form> | |
37 | + <br/> | |
38 | + </div> | |
39 | + <hr /> | |
40 | + <div id='disco'> | |
41 | +</div> | |
42 | + <hr /> | |
43 | + <div id='log_container'> | |
44 | +<a href='#'>Status Log :</a> | |
45 | +<div id='log'></div></div> | |
46 | +</body> | |
47 | +</html> | ... | ... |
public/javascripts/strophejs-1.0.1/contrib/discojs/punjab.tac
0 → 100644
... | ... | @@ -0,0 +1,18 @@ |
1 | +# punjab tac file | |
2 | +from twisted.web import server, resource, static | |
3 | +from twisted.application import service, internet | |
4 | + | |
5 | +from punjab.httpb import Httpb, HttpbService | |
6 | + | |
7 | +root = static.File("./") # This needs to be the directory | |
8 | + # where you will have your html | |
9 | + # and javascript. | |
10 | + | |
11 | +b = resource.IResource(HttpbService(1)) # turn on debug with 1 | |
12 | +root.putChild('bosh', b) | |
13 | + | |
14 | + | |
15 | +site = server.Site(root) | |
16 | + | |
17 | +application = service.Application("punjab") | |
18 | +internet.TCPServer(5280, site).setServiceParent(application) | ... | ... |
public/javascripts/strophejs-1.0.1/contrib/discojs/scripts/basic.js
0 → 100644
... | ... | @@ -0,0 +1,102 @@ |
1 | +var BOSH_SERVICE = 'http://localhost:5280/bosh'; | |
2 | + | |
3 | +var connection = null; | |
4 | +var browser = null; | |
5 | +var show_log = true; | |
6 | + | |
7 | +function log(msg) | |
8 | +{ | |
9 | + $('#log').append('<div></div>').append(document.createTextNode(msg)); | |
10 | +} | |
11 | + | |
12 | + | |
13 | +function rawInput(data) | |
14 | +{ | |
15 | + log('RECV: ' + data); | |
16 | +} | |
17 | + | |
18 | +function rawOutput(data) | |
19 | +{ | |
20 | + log('SENT: ' + data); | |
21 | +} | |
22 | + | |
23 | +function onConnect(status) | |
24 | +{ | |
25 | + if (status == Strophe.Status.CONNECTING) { | |
26 | + log('Strophe is connecting.'); | |
27 | + | |
28 | + } else if (status == Strophe.Status.CONNFAIL) { | |
29 | + log('Strophe failed to connect.'); | |
30 | + showConnect(); | |
31 | + } else if (status == Strophe.Status.DISCONNECTING) { | |
32 | + log('Strophe is disconnecting.'); | |
33 | + } else if (status == Strophe.Status.DISCONNECTED) { | |
34 | + log('Strophe is disconnected.'); | |
35 | + showConnect(); | |
36 | + | |
37 | + } else if (status == Strophe.Status.CONNECTED) { | |
38 | + log('Strophe is connected.'); | |
39 | + // Start up disco browser | |
40 | + browser.showBrowser(); | |
41 | + } | |
42 | +} | |
43 | + | |
44 | +function showConnect() | |
45 | +{ | |
46 | + var jid = $('#jid'); | |
47 | + var pass = $('#pass'); | |
48 | + var button = $('#connect').get(0); | |
49 | + | |
50 | + browser.closeBrowser(); | |
51 | + | |
52 | + $('label').show(); | |
53 | + jid.show(); | |
54 | + pass.show(); | |
55 | + $('#anon').show(); | |
56 | + button.value = 'connect'; | |
57 | + return false; | |
58 | +} | |
59 | + | |
60 | +function showDisconnect() | |
61 | +{ | |
62 | + var jid = $('#jid'); | |
63 | + var pass = $('#pass'); | |
64 | + var button = $('#connect').get(0); | |
65 | + | |
66 | + button.value = 'disconnect'; | |
67 | + pass.hide(); | |
68 | + jid.hide(); | |
69 | + $('label').hide(); | |
70 | + $('#anon').hide(); | |
71 | + return false; | |
72 | +} | |
73 | + | |
74 | +$(document).ready(function () { | |
75 | + connection = new Strophe.Connection(BOSH_SERVICE); | |
76 | + connection.rawInput = rawInput; | |
77 | + connection.rawOutput = rawOutput; | |
78 | + | |
79 | + browser = new Disco(); | |
80 | + | |
81 | + $("#log_container").bind('click', function () { | |
82 | + $("#log").toggle(); | |
83 | + } | |
84 | + ); | |
85 | + | |
86 | + $('#cred').bind('submit', function () { | |
87 | + var button = $('#connect').get(0); | |
88 | + var jid = $('#jid'); | |
89 | + var pass = $('#pass'); | |
90 | + | |
91 | + if (button.value == 'connect') { | |
92 | + showDisconnect(); | |
93 | + connection.connect(jid.get(0).value, | |
94 | + pass.get(0).value, | |
95 | + onConnect); | |
96 | + } else { | |
97 | + connection.disconnect(); | |
98 | + showConnect(); | |
99 | + } | |
100 | + return false; | |
101 | + }); | |
102 | +}); | |
0 | 103 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/contrib/discojs/scripts/disco.js
0 → 100644
... | ... | @@ -0,0 +1,60 @@ |
1 | + | |
2 | +var NS_DISCO_INFO = 'http://jabber.org/protocol/disco#info'; | |
3 | +var NS_DISCO_ITEM = 'http://jabber.org/protocol/disco#items'; | |
4 | + | |
5 | + | |
6 | +// Disco stuff | |
7 | +Disco = function () { | |
8 | + // Class that does nothing | |
9 | +}; | |
10 | + | |
11 | +Disco.prototype = { | |
12 | + showBrowser: function() { | |
13 | + // Browser Display | |
14 | + var disco = $('#disco'); | |
15 | + var jid = $('#jid'); | |
16 | + var server = connection.jid.split('@')[1]; | |
17 | + | |
18 | + // display input box | |
19 | + disco.append("<div id='server'><form id='browse' name='browse'>Server : <input type='text' name='server' id='server' value='"+server+"' /><input type='submit' value='browse'/></form></div>"); | |
20 | + | |
21 | + // add handler for search form | |
22 | + $("#browse").bind('submit', function () { | |
23 | + this.startBrowse($("#server").get(0).value); | |
24 | + return false; | |
25 | + }); | |
26 | + | |
27 | + this.startBrowse(server); | |
28 | + }, | |
29 | + | |
30 | + closeBrowser: function() { | |
31 | + var disco = $('#disco'); | |
32 | + | |
33 | + disco.empty(); | |
34 | + }, | |
35 | + | |
36 | + startBrowse: function(server) { | |
37 | + // build iq request | |
38 | + var id = 'startBrowse'; | |
39 | + | |
40 | + var discoiq = $iq({'from':connection.jid+"/"+connection.resource, | |
41 | + 'to':server, | |
42 | + 'id':id, | |
43 | + 'type':'get'} | |
44 | + ) | |
45 | + .c('query', {'xmlns': NS_DISCO_INFO}); | |
46 | + | |
47 | + connection.addHandler(this._cbBrowse, null, 'iq', 'result', id); | |
48 | + connection.send(discoiq.tree()); | |
49 | + | |
50 | + }, | |
51 | + | |
52 | + _cbBrowse: function(e) { | |
53 | + var elem = $(e); // make this Element a JQuery Element | |
54 | + alert(e); | |
55 | + | |
56 | + return false; // return false to remove the handler | |
57 | + }, | |
58 | + | |
59 | +}; | |
60 | + | ... | ... |
public/javascripts/strophejs-1.0.1/doc/files/core-js.html
0 → 100644
... | ... | @@ -0,0 +1,189 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><title>strophe.js</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="strophe.js"></a>strophe.js</h1><div class=CBody><p>A JavaScript library for XMPP BOSH.</p><p>This is the JavaScript version of the Strophe library. Since JavaScript has no facilities for persistent TCP connections, this library uses Bidirectional-streams Over Synchronous HTTP (BOSH) to emulate a persistent, stateful, two-way connection to an XMPP server. More information on BOSH can be found in XEP 124.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#strophe.js" >strophe.js</a></td><td class=SDescription>A JavaScript library for XMPP BOSH.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$build" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">$build</a></td><td class=SDescription>Create a Strophe.Builder. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$msg" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">$msg</a></td><td class=SDescription>Create a Strophe.Builder with a <message/> element as the root.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$iq" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">$iq</a></td><td class=SDescription>Create a Strophe.Builder with an <iq/> element as the root.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$pres" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">$pres</a></td><td class=SDescription>Create a Strophe.Builder with a <presence/> element as the root.</td></tr><tr class="SClass"><td class=SEntry><a href="#Strophe" >Strophe</a></td><td class=SDescription>An object container for all Strophe library functions.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Strophe.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#Strophe.VERSION" >VERSION</a></td><td class=SDescription>The version of the Strophe library. </td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#Strophe.XMPP_Namespace_Constants" >XMPP Namespace Constants</a></td><td class=SDescription>Common namespace constants from the XMPP RFCs and XEPs.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Strophe.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.addNamespace" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">addNamespace</a></td><td class=SDescription>This function is used to extend the current namespaces in Strophe.NS. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Strophe.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection_Status_Constants" >Connection Status Constants</a></td><td class=SDescription>Connection status constants for use by the connection handler callback.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#Strophe.Log_Level_Constants" >Log Level Constants</a></td><td class=SDescription>Logging level indicators.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Strophe.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.forEachChild" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">forEachChild</a></td><td class=SDescription>Map a function over some or all child elements of a given element.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.isTagEqual" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">isTagEqual</a></td><td class=SDescription>Compare an element’s tag name with a string.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.xmlElement" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">xmlElement</a></td><td class=SDescription>Create an XML DOM element.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.xmlescape" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">xmlescape</a></td><td class=SDescription>Excapes invalid xml characters.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.xmlTextNode" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">xmlTextNode</a></td><td class=SDescription>Creates an XML DOM text node.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.getText" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">getText</a></td><td class=SDescription>Get the concatenation of all text children of an element.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.copyElement" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">copyElement</a></td><td class=SDescription>Copy an XML DOM element.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.escapeNode" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">escapeNode</a></td><td class=SDescription>Escape the node part (also called local part) of a JID.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.unescapeNode" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">unescapeNode</a></td><td class=SDescription>Unescape a node part (also called local part) of a JID.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.getNodeFromJid" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">getNodeFromJid</a></td><td class=SDescription>Get the node portion of a JID String.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.getDomainFromJid" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">getDomainFromJid</a></td><td class=SDescription>Get the domain portion of a JID String.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.getResourceFromJid" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">getResourceFromJid</a></td><td class=SDescription>Get the resource portion of a JID String.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.getBareJidFromJid" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">getBareJidFromJid</a></td><td class=SDescription>Get the bare JID from a JID String.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.log" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">log</a></td><td class=SDescription>User overrideable logging function.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.debug" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">debug</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.DEBUG level.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.info" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">info</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.INFO level.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.warn" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')">warn</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.WARN level.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.error" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')">error</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.ERROR level.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.fatal" id=link24 onMouseOver="ShowTip(event, 'tt24', 'link24')" onMouseOut="HideTip('tt24')">fatal</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.FATAL level.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.serialize" id=link25 onMouseOver="ShowTip(event, 'tt25', 'link25')" onMouseOut="HideTip('tt25')">serialize</a></td><td class=SDescription>Render a DOM element and all descendants to a String.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.addConnectionPlugin" id=link26 onMouseOver="ShowTip(event, 'tt26', 'link26')" onMouseOut="HideTip('tt26')">addConnectionPlugin</a></td><td class=SDescription>Extends the Strophe.Connection object with the given plugin.</td></tr><tr class="SClass"><td class=SEntry><a href="#Strophe.Builder" >Strophe.<wbr>Builder</a></td><td class=SDescription>XML DOM builder.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Strophe.Builder.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Builder.Strophe.Builder" id=link27 onMouseOver="ShowTip(event, 'tt27', 'link27')" onMouseOut="HideTip('tt27')">Strophe.<wbr>Builder</a></td><td class=SDescription>Create a Strophe.Builder object.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Builder.tree" id=link28 onMouseOver="ShowTip(event, 'tt28', 'link28')" onMouseOut="HideTip('tt28')">tree</a></td><td class=SDescription>Return the DOM tree.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Builder.toString" id=link29 onMouseOver="ShowTip(event, 'tt29', 'link29')" onMouseOut="HideTip('tt29')">toString</a></td><td class=SDescription>Serialize the DOM tree to a String.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Builder.up" id=link30 onMouseOver="ShowTip(event, 'tt30', 'link30')" onMouseOut="HideTip('tt30')">up</a></td><td class=SDescription>Make the current parent element the new current element.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Builder.attrs" id=link31 onMouseOver="ShowTip(event, 'tt31', 'link31')" onMouseOut="HideTip('tt31')">attrs</a></td><td class=SDescription>Add or modify attributes of the current element.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Builder.c" id=link32 onMouseOver="ShowTip(event, 'tt32', 'link32')" onMouseOut="HideTip('tt32')">c</a></td><td class=SDescription>Add a child to the current element and make it the new current element.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Builder.cnode" id=link33 onMouseOver="ShowTip(event, 'tt33', 'link33')" onMouseOut="HideTip('tt33')">cnode</a></td><td class=SDescription>Add a child to the current element and make it the new current element.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Builder.t" id=link34 onMouseOver="ShowTip(event, 'tt34', 'link34')" onMouseOut="HideTip('tt34')">t</a></td><td class=SDescription>Add a child text element.</td></tr><tr class="SClass"><td class=SEntry><a href="#Strophe.Connection" >Strophe.<wbr>Connection</a></td><td class=SDescription>XMPP Connection manager.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Strophe.Connection.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.Strophe.Connection" id=link35 onMouseOver="ShowTip(event, 'tt35', 'link35')" onMouseOut="HideTip('tt35')">Strophe.<wbr>Connection</a></td><td class=SDescription>Create and initialize a Strophe.Connection object.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.reset" id=link36 onMouseOver="ShowTip(event, 'tt36', 'link36')" onMouseOut="HideTip('tt36')">reset</a></td><td class=SDescription>Reset the connection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.pause" id=link37 onMouseOver="ShowTip(event, 'tt37', 'link37')" onMouseOut="HideTip('tt37')">pause</a></td><td class=SDescription>Pause the request manager.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.resume" id=link38 onMouseOver="ShowTip(event, 'tt38', 'link38')" onMouseOut="HideTip('tt38')">resume</a></td><td class=SDescription>Resume the request manager.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.getUniqueId" id=link39 onMouseOver="ShowTip(event, 'tt39', 'link39')" onMouseOut="HideTip('tt39')">getUniqueId</a></td><td class=SDescription>Generate a unique ID for use in <iq/> elements.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.connect" id=link40 onMouseOver="ShowTip(event, 'tt40', 'link40')" onMouseOut="HideTip('tt40')">connect</a></td><td class=SDescription>Starts the connection process.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.attach" id=link41 onMouseOver="ShowTip(event, 'tt41', 'link41')" onMouseOut="HideTip('tt41')">attach</a></td><td class=SDescription>Attach to an already created and authenticated BOSH session.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.xmlInput" id=link42 onMouseOver="ShowTip(event, 'tt42', 'link42')" onMouseOut="HideTip('tt42')">xmlInput</a></td><td class=SDescription>User overrideable function that receives XML data coming into the connection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.xmlOutput" id=link43 onMouseOver="ShowTip(event, 'tt43', 'link43')" onMouseOut="HideTip('tt43')">xmlOutput</a></td><td class=SDescription>User overrideable function that receives XML data sent to the connection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.rawInput" id=link44 onMouseOver="ShowTip(event, 'tt44', 'link44')" onMouseOut="HideTip('tt44')">rawInput</a></td><td class=SDescription>User overrideable function that receives raw data coming into the connection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.rawOutput" id=link45 onMouseOver="ShowTip(event, 'tt45', 'link45')" onMouseOut="HideTip('tt45')">rawOutput</a></td><td class=SDescription>User overrideable function that receives raw data sent to the connection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.send" id=link46 onMouseOver="ShowTip(event, 'tt46', 'link46')" onMouseOut="HideTip('tt46')">send</a></td><td class=SDescription>Send a stanza.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.flush" id=link47 onMouseOver="ShowTip(event, 'tt47', 'link47')" onMouseOut="HideTip('tt47')">flush</a></td><td class=SDescription>Immediately send any pending outgoing data.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.sendIQ" id=link48 onMouseOver="ShowTip(event, 'tt48', 'link48')" onMouseOut="HideTip('tt48')">sendIQ</a></td><td class=SDescription>Helper function to send IQ stanzas.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.addTimedHandler" id=link49 onMouseOver="ShowTip(event, 'tt49', 'link49')" onMouseOut="HideTip('tt49')">addTimedHandler</a></td><td class=SDescription>Add a timed handler to the connection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.deleteTimedHandler" id=link50 onMouseOver="ShowTip(event, 'tt50', 'link50')" onMouseOut="HideTip('tt50')">deleteTimedHandler</a></td><td class=SDescription>Delete a timed handler for a connection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.addHandler" id=link51 onMouseOver="ShowTip(event, 'tt51', 'link51')" onMouseOut="HideTip('tt51')">addHandler</a></td><td class=SDescription>Add a stanza handler for the connection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Strophe.Connection.deleteHandler" id=link52 onMouseOver="ShowTip(event, 'tt52', 'link52')" onMouseOut="HideTip('tt52')">deleteHandler</a></td><td class=SDescription>Delete a stanza handler for a connection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Strophe.Connection.disconnect" id=link53 onMouseOver="ShowTip(event, 'tt53', 'link53')" onMouseOut="HideTip('tt53')">disconnect</a></td><td class=SDescription>Start the graceful disconnection process.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> | |
15 | + | |
16 | +<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div> | |
17 | + | |
18 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$build"></a>$build</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $build(</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create a Strophe.Builder. This is an alias for ‘new Strophe.Builder(name, attrs)’.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The root element name.</td></tr><tr><td class=CDLEntry>(Object) attrs</td><td class=CDLDescription>The attributes for the root element in object notation.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new Strophe.Builder object.</p></div></div></div> | |
19 | + | |
20 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$msg"></a>$msg</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $msg(</td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create a Strophe.Builder with a <message/> element as the root.</p><h4 class=CHeading>Parmaeters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Object) attrs</td><td class=CDLDescription>The <message/> element attributes in object notation.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new Strophe.Builder object.</p></div></div></div> | |
21 | + | |
22 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$iq"></a>$iq</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $iq(</td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create a Strophe.Builder with an <iq/> element as the root.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Object) attrs</td><td class=CDLDescription>The <iq/> element attributes in object notation.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new Strophe.Builder object.</p></div></div></div> | |
23 | + | |
24 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$pres"></a>$pres</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $pres(</td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create a Strophe.Builder with a <presence/> element as the root.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Object) attrs</td><td class=CDLDescription>The <presence/> element attributes in object notation.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new Strophe.Builder object.</p></div></div></div> | |
25 | + | |
26 | +<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="Strophe"></a>Strophe</h2><div class=CBody><p>An object container for all Strophe library functions.</p><p>This class is just a container for all the objects and constants used in the library. It is not meant to be instantiated, but to provide a namespace for library objects, constants, and functions.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Strophe.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#Strophe.VERSION" >VERSION</a></td><td class=SDescription>The version of the Strophe library. </td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#Strophe.XMPP_Namespace_Constants" >XMPP Namespace Constants</a></td><td class=SDescription>Common namespace constants from the XMPP RFCs and XEPs.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Strophe.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.addNamespace" id=link54 onMouseOver="ShowTip(event, 'tt5', 'link54')" onMouseOut="HideTip('tt5')">addNamespace</a></td><td class=SDescription>This function is used to extend the current namespaces in Strophe.NS. </td></tr><tr class="SGroup"><td class=SEntry><a href="#Strophe.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection_Status_Constants" >Connection Status Constants</a></td><td class=SDescription>Connection status constants for use by the connection handler callback.</td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#Strophe.Log_Level_Constants" >Log Level Constants</a></td><td class=SDescription>Logging level indicators.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Strophe.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.forEachChild" id=link55 onMouseOver="ShowTip(event, 'tt6', 'link55')" onMouseOut="HideTip('tt6')">forEachChild</a></td><td class=SDescription>Map a function over some or all child elements of a given element.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.isTagEqual" id=link56 onMouseOver="ShowTip(event, 'tt7', 'link56')" onMouseOut="HideTip('tt7')">isTagEqual</a></td><td class=SDescription>Compare an element’s tag name with a string.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.xmlElement" id=link57 onMouseOver="ShowTip(event, 'tt8', 'link57')" onMouseOut="HideTip('tt8')">xmlElement</a></td><td class=SDescription>Create an XML DOM element.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.xmlescape" id=link58 onMouseOver="ShowTip(event, 'tt9', 'link58')" onMouseOut="HideTip('tt9')">xmlescape</a></td><td class=SDescription>Excapes invalid xml characters.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.xmlTextNode" id=link59 onMouseOver="ShowTip(event, 'tt10', 'link59')" onMouseOut="HideTip('tt10')">xmlTextNode</a></td><td class=SDescription>Creates an XML DOM text node.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.getText" id=link60 onMouseOver="ShowTip(event, 'tt11', 'link60')" onMouseOut="HideTip('tt11')">getText</a></td><td class=SDescription>Get the concatenation of all text children of an element.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.copyElement" id=link61 onMouseOver="ShowTip(event, 'tt12', 'link61')" onMouseOut="HideTip('tt12')">copyElement</a></td><td class=SDescription>Copy an XML DOM element.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.escapeNode" id=link62 onMouseOver="ShowTip(event, 'tt13', 'link62')" onMouseOut="HideTip('tt13')">escapeNode</a></td><td class=SDescription>Escape the node part (also called local part) of a JID.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.unescapeNode" id=link63 onMouseOver="ShowTip(event, 'tt14', 'link63')" onMouseOut="HideTip('tt14')">unescapeNode</a></td><td class=SDescription>Unescape a node part (also called local part) of a JID.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.getNodeFromJid" id=link64 onMouseOver="ShowTip(event, 'tt15', 'link64')" onMouseOut="HideTip('tt15')">getNodeFromJid</a></td><td class=SDescription>Get the node portion of a JID String.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.getDomainFromJid" id=link65 onMouseOver="ShowTip(event, 'tt16', 'link65')" onMouseOut="HideTip('tt16')">getDomainFromJid</a></td><td class=SDescription>Get the domain portion of a JID String.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.getResourceFromJid" id=link66 onMouseOver="ShowTip(event, 'tt17', 'link66')" onMouseOut="HideTip('tt17')">getResourceFromJid</a></td><td class=SDescription>Get the resource portion of a JID String.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.getBareJidFromJid" id=link67 onMouseOver="ShowTip(event, 'tt18', 'link67')" onMouseOut="HideTip('tt18')">getBareJidFromJid</a></td><td class=SDescription>Get the bare JID from a JID String.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.log" id=link68 onMouseOver="ShowTip(event, 'tt19', 'link68')" onMouseOut="HideTip('tt19')">log</a></td><td class=SDescription>User overrideable logging function.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.debug" id=link69 onMouseOver="ShowTip(event, 'tt20', 'link69')" onMouseOut="HideTip('tt20')">debug</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.DEBUG level.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.info" id=link70 onMouseOver="ShowTip(event, 'tt21', 'link70')" onMouseOut="HideTip('tt21')">info</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.INFO level.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.warn" id=link71 onMouseOver="ShowTip(event, 'tt22', 'link71')" onMouseOut="HideTip('tt22')">warn</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.WARN level.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.error" id=link72 onMouseOver="ShowTip(event, 'tt23', 'link72')" onMouseOut="HideTip('tt23')">error</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.ERROR level.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.fatal" id=link73 onMouseOver="ShowTip(event, 'tt24', 'link73')" onMouseOut="HideTip('tt24')">fatal</a></td><td class=SDescription>Log a message at the Strophe.LogLevel.FATAL level.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.serialize" id=link74 onMouseOver="ShowTip(event, 'tt25', 'link74')" onMouseOut="HideTip('tt25')">serialize</a></td><td class=SDescription>Render a DOM element and all descendants to a String.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.addConnectionPlugin" id=link75 onMouseOver="ShowTip(event, 'tt26', 'link75')" onMouseOut="HideTip('tt26')">addConnectionPlugin</a></td><td class=SDescription>Extends the Strophe.Connection object with the given plugin.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> | |
27 | + | |
28 | +<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Strophe.Constants"></a>Constants</h3></div></div> | |
29 | + | |
30 | +<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="Strophe.VERSION"></a>VERSION</h3><div class=CBody><p>The version of the Strophe library. Unreleased builds will have a version of head-HASH where HASH is a partial revision.</p></div></div></div> | |
31 | + | |
32 | +<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="Strophe.XMPP_Namespace_Constants"></a>XMPP Namespace Constants</h3><div class=CBody><p>Common namespace constants from the XMPP RFCs and XEPs.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.HTTPBIND"></a>NS.HTTPBIND</td><td class=CDLDescription>HTTP BIND namespace from XEP 124.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.BOSH"></a>NS.BOSH</td><td class=CDLDescription>BOSH namespace from XEP 206.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.CLIENT"></a>NS.CLIENT</td><td class=CDLDescription>Main XMPP client namespace.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.AUTH"></a>NS.AUTH</td><td class=CDLDescription>Legacy authentication namespace.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.ROSTER"></a>NS.ROSTER</td><td class=CDLDescription>Roster operations namespace.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.PROFILE"></a>NS.PROFILE</td><td class=CDLDescription>Profile namespace.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.DISCO_INFO"></a>NS.DISCO_INFO</td><td class=CDLDescription>Service discovery info namespace from XEP 30.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.DISCO_ITEMS"></a>NS.DISCO_ITEMS</td><td class=CDLDescription>Service discovery items namespace from XEP 30.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.MUC"></a>NS.MUC</td><td class=CDLDescription>Multi-User Chat namespace from XEP 45.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.SASL"></a>NS.SASL</td><td class=CDLDescription>XMPP SASL namespace from RFC 3920.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.STREAM"></a>NS.STREAM</td><td class=CDLDescription>XMPP Streams namespace from RFC 3920.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.BIND"></a>NS.BIND</td><td class=CDLDescription>XMPP Binding namespace from RFC 3920.</td></tr><tr><td class=CDLEntry><a name="Strophe.XMPP_Namespace_Constants.NS.SESSION"></a>NS.SESSION</td><td class=CDLDescription>XMPP Session namespace from RFC 3920.</td></tr></table></div></div></div> | |
33 | + | |
34 | +<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Strophe.Functions"></a>Functions</h3></div></div> | |
35 | + | |
36 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.addNamespace"></a>addNamespace</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addNamespace: function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>This function is used to extend the current namespaces in Strophe.NS. It takes a key and a value with the key being the name of the new namespace, with its actual value. For example: Strophe.addNamespace(‘PUBSUB’, “<a href="http://jabber.org/protocol/pubsub" class=LURL target=_top>http://jabber.org/protocol/pubsub</a>”);</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The name under which the namespace will be referenced under Strophe.NS</td></tr><tr><td class=CDLEntry>(String) value</td><td class=CDLDescription>The actual namespace.</td></tr></table></div></div></div> | |
37 | + | |
38 | +<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Strophe.Constants"></a>Constants</h3></div></div> | |
39 | + | |
40 | +<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection_Status_Constants"></a>Connection Status Constants</h3><div class=CBody><p>Connection status constants for use by the connection handler callback.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.ERROR"></a>Status.ERROR</td><td class=CDLDescription>An error has occurred</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.CONNECTING"></a>Status.CONNECTING</td><td class=CDLDescription>The connection is currently being made</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.CONNFAIL"></a>Status.CONNFAIL</td><td class=CDLDescription>The connection attempt failed</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.AUTHENTICATING"></a>Status.AUTHENTICATING</td><td class=CDLDescription>The connection is authenticating</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.AUTHFAIL"></a>Status.AUTHFAIL</td><td class=CDLDescription>The authentication attempt failed</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.CONNECTED"></a>Status.CONNECTED</td><td class=CDLDescription>The connection has succeeded</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.DISCONNECTED"></a>Status.DISCONNECTED</td><td class=CDLDescription>The connection has been terminated</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.DISCONNECTING"></a>Status.DISCONNECTING</td><td class=CDLDescription>The connection is currently being terminated</td></tr><tr><td class=CDLEntry><a name="Strophe.Connection_Status_Constants.Status.ATTACHED"></a>Status.ATTACHED</td><td class=CDLDescription>The connection has been attached</td></tr></table></div></div></div> | |
41 | + | |
42 | +<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="Strophe.Log_Level_Constants"></a>Log Level Constants</h3><div class=CBody><p>Logging level indicators.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry><a name="Strophe.Log_Level_Constants.LogLevel.DEBUG"></a>LogLevel.DEBUG</td><td class=CDLDescription>Debug output</td></tr><tr><td class=CDLEntry><a name="Strophe.Log_Level_Constants.LogLevel.INFO"></a>LogLevel.INFO</td><td class=CDLDescription>Informational output</td></tr><tr><td class=CDLEntry><a name="Strophe.Log_Level_Constants.LogLevel.WARN"></a>LogLevel.WARN</td><td class=CDLDescription>Warnings</td></tr><tr><td class=CDLEntry><a name="Strophe.Log_Level_Constants.LogLevel.ERROR"></a>LogLevel.ERROR</td><td class=CDLDescription>Errors</td></tr><tr><td class=CDLEntry><a name="Strophe.Log_Level_Constants.LogLevel.FATAL"></a>LogLevel.FATAL</td><td class=CDLDescription>Fatal errors</td></tr></table></div></div></div> | |
43 | + | |
44 | +<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Strophe.Functions"></a>Functions</h3></div></div> | |
45 | + | |
46 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.forEachChild"></a>forEachChild</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>forEachChild: function (</td><td class=PParameter nowrap>elem,</td></tr><tr><td></td><td class=PParameter nowrap>elemName,</td></tr><tr><td></td><td class=PParameter nowrap>func</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Map a function over some or all child elements of a given element.</p><p>This is a small convenience function for mapping a function over some or all of the children of an element. If elemName is null, all children will be passed to the function, otherwise only children whose tag names match elemName will be passed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>The element to operate on.</td></tr><tr><td class=CDLEntry>(String) elemName</td><td class=CDLDescription>The child element tag name filter.</td></tr><tr><td class=CDLEntry>(Function) func</td><td class=CDLDescription>The function to apply to each child. This function should take a single argument, a DOM element.</td></tr></table></div></div></div> | |
47 | + | |
48 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.isTagEqual"></a>isTagEqual</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isTagEqual: function (</td><td class=PParameter nowrap>el,</td></tr><tr><td></td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Compare an element’s tag name with a string.</p><p>This function is case insensitive.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) el</td><td class=CDLDescription>A DOM element.</td></tr><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The element name.</td></tr></table><h4 class=CHeading>Returns</h4><p>true if the element’s tag name matches <u>el</u>, and false otherwise.</p></div></div></div> | |
49 | + | |
50 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.xmlElement"></a>xmlElement</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlElement: function (</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create an XML DOM element.</p><p>This function creates an XML DOM element correctly across all implementations. Specifically the Microsoft implementation of document.createElement makes DOM elements with 43+ default attributes unless elements are created with the ActiveX object Microsoft.XMLDOM.</p><p>Most DOMs force element names to lowercase, so we use the _realname attribute on the created element to store the case sensitive name. This is required to generate proper XML for things like vCard avatars (XEP 153). This attribute is stripped out before being sent over the wire or serialized, but you may notice it during debugging.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The name for the element.</td></tr><tr><td class=CDLEntry>(Array) attrs</td><td class=CDLDescription>An optional array of key/value pairs to use as element attributes in the following format [[‘key1’, ‘value1’], [‘key2’, ‘value2’]]</td></tr><tr><td class=CDLEntry>(String) text</td><td class=CDLDescription>The text child data for the element.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new XML DOM element.</p></div></div></div> | |
51 | + | |
52 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.xmlescape"></a>xmlescape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlescape: function(</td><td class=PParameter nowrap>text</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Excapes invalid xml characters.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) text</td><td class=CDLDescription>text to escape.</td></tr></table><h4 class=CHeading>Returns</h4><p>Escaped text.</p></div></div></div> | |
53 | + | |
54 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.xmlTextNode"></a>xmlTextNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlTextNode: function (</td><td class=PParameter nowrap>text</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates an XML DOM text node.</p><p>Provides a cross implementation version of document.createTextNode.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) text</td><td class=CDLDescription>The content of the text node.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new XML DOM text node.</p></div></div></div> | |
55 | + | |
56 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.getText"></a>getText</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getText: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Get the concatenation of all text children of an element.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>A DOM element.</td></tr></table><h4 class=CHeading>Returns</h4><p>A String with the concatenated text of all text element children.</p></div></div></div> | |
57 | + | |
58 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.copyElement"></a>copyElement</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>copyElement: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Copy an XML DOM element.</p><p>This function copies a DOM element and all its descendants and returns the new copy.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>A DOM element.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new, copied DOM element tree.</p></div></div></div> | |
59 | + | |
60 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.escapeNode"></a>escapeNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>escapeNode: function (</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Escape the node part (also called local part) of a JID.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) node</td><td class=CDLDescription>A node (or local part).</td></tr></table><h4 class=CHeading>Returns</h4><p>An escaped node (or local part).</p></div></div></div> | |
61 | + | |
62 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.unescapeNode"></a>unescapeNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>unescapeNode: function (</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Unescape a node part (also called local part) of a JID.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) node</td><td class=CDLDescription>A node (or local part).</td></tr></table><h4 class=CHeading>Returns</h4><p>An unescaped node (or local part).</p></div></div></div> | |
63 | + | |
64 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.getNodeFromJid"></a>getNodeFromJid</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getNodeFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Get the node portion of a JID String.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) jid</td><td class=CDLDescription>A JID.</td></tr></table><h4 class=CHeading>Returns</h4><p>A String containing the node.</p></div></div></div> | |
65 | + | |
66 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.getDomainFromJid"></a>getDomainFromJid</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getDomainFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Get the domain portion of a JID String.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) jid</td><td class=CDLDescription>A JID.</td></tr></table><h4 class=CHeading>Returns</h4><p>A String containing the domain.</p></div></div></div> | |
67 | + | |
68 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.getResourceFromJid"></a>getResourceFromJid</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getResourceFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Get the resource portion of a JID String.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) jid</td><td class=CDLDescription>A JID.</td></tr></table><h4 class=CHeading>Returns</h4><p>A String containing the resource.</p></div></div></div> | |
69 | + | |
70 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.getBareJidFromJid"></a>getBareJidFromJid</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getBareJidFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Get the bare JID from a JID String.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) jid</td><td class=CDLDescription>A JID.</td></tr></table><h4 class=CHeading>Returns</h4><p>A String containing the bare JID.</p></div></div></div> | |
71 | + | |
72 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.log"></a>log</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>log: function (</td><td class=PParameter nowrap>level,</td></tr><tr><td></td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>User overrideable logging function.</p><p>This function is called whenever the Strophe library calls any of the logging functions. The default implementation of this function does nothing. If client code wishes to handle the logging messages, it should override this with</p><blockquote><pre>Strophe.log = function (level, msg) { | |
73 | + (user code here) | |
74 | +};</pre></blockquote><p>Please note that data sent and received over the wire is logged via Strophe.Connection.rawInput() and Strophe.Connection.rawOutput().</p><p>The different levels and their meanings are</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>DEBUG</td><td class=CDLDescription>Messages useful for debugging purposes.</td></tr><tr><td class=CDLEntry>INFO</td><td class=CDLDescription>Informational messages. This is mostly information like ‘disconnect was called’ or ‘SASL auth succeeded’.</td></tr><tr><td class=CDLEntry>WARN</td><td class=CDLDescription>Warnings about potential problems. This is mostly used to report transient connection errors like request timeouts.</td></tr><tr><td class=CDLEntry>ERROR</td><td class=CDLDescription>Some error occurred.</td></tr><tr><td class=CDLEntry>FATAL</td><td class=CDLDescription>A non-recoverable fatal error occurred.</td></tr></table><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Integer) level</td><td class=CDLDescription>The log level of the log message. This will be one of the values in Strophe.LogLevel.</td></tr><tr><td class=CDLEntry>(String) msg</td><td class=CDLDescription>The log message.</td></tr></table></div></div></div> | |
75 | + | |
76 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.debug"></a>debug</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>debug: function(</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Log a message at the Strophe.LogLevel.DEBUG level.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) msg</td><td class=CDLDescription>The log message.</td></tr></table></div></div></div> | |
77 | + | |
78 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.info"></a>info</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>info: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Log a message at the Strophe.LogLevel.INFO level.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) msg</td><td class=CDLDescription>The log message.</td></tr></table></div></div></div> | |
79 | + | |
80 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.warn"></a>warn</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>warn: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Log a message at the Strophe.LogLevel.WARN level.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) msg</td><td class=CDLDescription>The log message.</td></tr></table></div></div></div> | |
81 | + | |
82 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.error"></a>error</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>error: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Log a message at the Strophe.LogLevel.ERROR level.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) msg</td><td class=CDLDescription>The log message.</td></tr></table></div></div></div> | |
83 | + | |
84 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.fatal"></a>fatal</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>fatal: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Log a message at the Strophe.LogLevel.FATAL level.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) msg</td><td class=CDLDescription>The log message.</td></tr></table></div></div></div> | |
85 | + | |
86 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.serialize"></a>serialize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>serialize: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Render a DOM element and all descendants to a String.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>A DOM element.</td></tr></table><h4 class=CHeading>Returns</h4><p>The serialized element tree as a String.</p></div></div></div> | |
87 | + | |
88 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.addConnectionPlugin"></a>addConnectionPlugin</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addConnectionPlugin: function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>ptype</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Extends the Strophe.Connection object with the given plugin.</p><h4 class=CHeading>Paramaters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The name of the extension.</td></tr><tr><td class=CDLEntry>(Object) ptype</td><td class=CDLDescription>The plugin’s prototype.</td></tr></table></div></div></div> | |
89 | + | |
90 | +<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="Strophe.Builder"></a>Strophe.<wbr>Builder</h2><div class=CBody><p>XML DOM builder.</p><p>This object provides an interface similar to JQuery but for building DOM element easily and rapidly. All the functions except for toString() and tree() return the object, so calls can be chained. Here’s an example using the $iq() builder helper.</p><blockquote><pre>$iq({to: 'you': from: 'me': type: 'get', id: '1'}) | |
91 | + .c('query', {xmlns: 'strophe:example'}) | |
92 | + .c('example') | |
93 | + .toString()</pre></blockquote><p>The above generates this XML fragment</p><blockquote><pre><iq to='you' from='me' type='get' id='1'> | |
94 | + <query xmlns='strophe:example'> | |
95 | + <example/> | |
96 | + </query> | |
97 | +</iq></pre></blockquote><p>The corresponding DOM manipulations to get a similar fragment would be a lot more tedious and probably involve several helper variables.</p><p>Since adding children makes new operations operate on the child, up() is provided to traverse up the tree. To add two children, do</p><blockquote><pre>builder.c('child1', ...).up().c('child2', ...)</pre></blockquote><p>The next operation on the Builder will be relative to the second child.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Strophe.Builder.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Builder.Strophe.Builder" id=link76 onMouseOver="ShowTip(event, 'tt27', 'link76')" onMouseOut="HideTip('tt27')">Strophe.<wbr>Builder</a></td><td class=SDescription>Create a Strophe.Builder object.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Builder.tree" id=link77 onMouseOver="ShowTip(event, 'tt28', 'link77')" onMouseOut="HideTip('tt28')">tree</a></td><td class=SDescription>Return the DOM tree.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Builder.toString" id=link78 onMouseOver="ShowTip(event, 'tt29', 'link78')" onMouseOut="HideTip('tt29')">toString</a></td><td class=SDescription>Serialize the DOM tree to a String.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Builder.up" id=link79 onMouseOver="ShowTip(event, 'tt30', 'link79')" onMouseOut="HideTip('tt30')">up</a></td><td class=SDescription>Make the current parent element the new current element.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Builder.attrs" id=link80 onMouseOver="ShowTip(event, 'tt31', 'link80')" onMouseOut="HideTip('tt31')">attrs</a></td><td class=SDescription>Add or modify attributes of the current element.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Builder.c" id=link81 onMouseOver="ShowTip(event, 'tt32', 'link81')" onMouseOut="HideTip('tt32')">c</a></td><td class=SDescription>Add a child to the current element and make it the new current element.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Builder.cnode" id=link82 onMouseOver="ShowTip(event, 'tt33', 'link82')" onMouseOut="HideTip('tt33')">cnode</a></td><td class=SDescription>Add a child to the current element and make it the new current element.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Builder.t" id=link83 onMouseOver="ShowTip(event, 'tt34', 'link83')" onMouseOut="HideTip('tt34')">t</a></td><td class=SDescription>Add a child text element.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> | |
98 | + | |
99 | +<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.Functions"></a>Functions</h3></div></div> | |
100 | + | |
101 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.Strophe.Builder"></a>Strophe.<wbr>Builder</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Strophe.Builder = function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create a Strophe.Builder object.</p><p>The attributes should be passed in object notation. For example</p><blockquote><pre>var b = new Builder('message', {to: 'you', from: 'me'});</pre></blockquote><p>or</p><blockquote><pre>var b = new Builder('messsage', {'xml:lang': 'en'});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The name of the root element.</td></tr><tr><td class=CDLEntry>(Object) attrs</td><td class=CDLDescription>The attributes for the root element in object notation.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new Strophe.Builder.</p></div></div></div> | |
102 | + | |
103 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.tree"></a>tree</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>tree: function ()</td></tr></table></blockquote><p>Return the DOM tree.</p><p>This function returns the current DOM tree as an element object. This is suitable for passing to functions like Strophe.Connection.send().</p><h4 class=CHeading>Returns</h4><p>The DOM tree as a element object.</p></div></div></div> | |
104 | + | |
105 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.toString"></a>toString</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>toString: function ()</td></tr></table></blockquote><p>Serialize the DOM tree to a String.</p><p>This function returns a string serialization of the current DOM tree. It is often used internally to pass data to a Strophe.Request object.</p><h4 class=CHeading>Returns</h4><p>The serialized DOM tree in a String.</p></div></div></div> | |
106 | + | |
107 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.up"></a>up</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>up: function ()</td></tr></table></blockquote><p>Make the current parent element the new current element.</p><p>This function is often used after c() to traverse back up the tree. For example, to add two children to the same element</p><blockquote><pre>builder.c('child1', {}).up().c('child2', {});</pre></blockquote><h4 class=CHeading>Returns</h4><p>The Stophe.Builder object.</p></div></div></div> | |
108 | + | |
109 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.attrs"></a>attrs</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>attrs: function (</td><td class=PParameter nowrap>moreattrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Add or modify attributes of the current element.</p><p>The attributes should be passed in object notation. This function does not move the current element pointer.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Object) moreattrs</td><td class=CDLDescription>The attributes to add/modify in object notation.</td></tr></table><h4 class=CHeading>Returns</h4><p>The Strophe.Builder object.</p></div></div></div> | |
110 | + | |
111 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.c"></a>c</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>c: function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Add a child to the current element and make it the new current element.</p><p>This function moves the current element pointer to the child. If you need to add another child, it is necessary to use up() to go back to the parent in the tree.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The name of the child.</td></tr><tr><td class=CDLEntry>(Object) attrs</td><td class=CDLDescription>The attributes of the child in object notation.</td></tr></table><h4 class=CHeading>Returns</h4><p>The Strophe.Builder object.</p></div></div></div> | |
112 | + | |
113 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.cnode"></a>cnode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>cnode: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Add a child to the current element and make it the new current element.</p><p>This function is the same as c() except that instead of using a name and an attributes object to create the child it uses an existing DOM element object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>A DOM element.</td></tr></table><h4 class=CHeading>Returns</h4><p>The Strophe.Builder object.</p></div></div></div> | |
114 | + | |
115 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Builder.t"></a>t</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>t: function (</td><td class=PParameter nowrap>text</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Add a child text element.</p><p>This <b>does not</b> make the child the new current element since there are no children of text elements.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) text</td><td class=CDLDescription>The text data to append to the current element.</td></tr></table><h4 class=CHeading>Returns</h4><p>The Strophe.Builder object.</p></div></div></div> | |
116 | + | |
117 | +<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="Strophe.Connection"></a>Strophe.<wbr>Connection</h2><div class=CBody><p>XMPP Connection manager.</p><p>Thie class is the main part of Strophe. It manages a BOSH connection to an XMPP server and dispatches events to the user callbacks as data arrives. It supports SASL PLAIN, SASL DIGEST-MD5, and legacy authentication.</p><p>After creating a Strophe.Connection object, the user will typically call connect() with a user supplied callback to handle connection level events like authentication failure, disconnection, or connection complete.</p><p>The user will also have several event handlers defined by using addHandler() and addTimedHandler(). These will allow the user code to respond to interesting stanzas or do something periodically with the connection. These handlers will be active once authentication is finished.</p><p>To send data to the connection, use send().</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Strophe.Connection.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.Strophe.Connection" id=link84 onMouseOver="ShowTip(event, 'tt35', 'link84')" onMouseOut="HideTip('tt35')">Strophe.<wbr>Connection</a></td><td class=SDescription>Create and initialize a Strophe.Connection object.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.reset" id=link85 onMouseOver="ShowTip(event, 'tt36', 'link85')" onMouseOut="HideTip('tt36')">reset</a></td><td class=SDescription>Reset the connection.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.pause" id=link86 onMouseOver="ShowTip(event, 'tt37', 'link86')" onMouseOut="HideTip('tt37')">pause</a></td><td class=SDescription>Pause the request manager.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.resume" id=link87 onMouseOver="ShowTip(event, 'tt38', 'link87')" onMouseOut="HideTip('tt38')">resume</a></td><td class=SDescription>Resume the request manager.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.getUniqueId" id=link88 onMouseOver="ShowTip(event, 'tt39', 'link88')" onMouseOut="HideTip('tt39')">getUniqueId</a></td><td class=SDescription>Generate a unique ID for use in <iq/> elements.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.connect" id=link89 onMouseOver="ShowTip(event, 'tt40', 'link89')" onMouseOut="HideTip('tt40')">connect</a></td><td class=SDescription>Starts the connection process.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.attach" id=link90 onMouseOver="ShowTip(event, 'tt41', 'link90')" onMouseOut="HideTip('tt41')">attach</a></td><td class=SDescription>Attach to an already created and authenticated BOSH session.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.xmlInput" id=link91 onMouseOver="ShowTip(event, 'tt42', 'link91')" onMouseOut="HideTip('tt42')">xmlInput</a></td><td class=SDescription>User overrideable function that receives XML data coming into the connection.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.xmlOutput" id=link92 onMouseOver="ShowTip(event, 'tt43', 'link92')" onMouseOut="HideTip('tt43')">xmlOutput</a></td><td class=SDescription>User overrideable function that receives XML data sent to the connection.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.rawInput" id=link93 onMouseOver="ShowTip(event, 'tt44', 'link93')" onMouseOut="HideTip('tt44')">rawInput</a></td><td class=SDescription>User overrideable function that receives raw data coming into the connection.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.rawOutput" id=link94 onMouseOver="ShowTip(event, 'tt45', 'link94')" onMouseOut="HideTip('tt45')">rawOutput</a></td><td class=SDescription>User overrideable function that receives raw data sent to the connection.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.send" id=link95 onMouseOver="ShowTip(event, 'tt46', 'link95')" onMouseOut="HideTip('tt46')">send</a></td><td class=SDescription>Send a stanza.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.flush" id=link96 onMouseOver="ShowTip(event, 'tt47', 'link96')" onMouseOut="HideTip('tt47')">flush</a></td><td class=SDescription>Immediately send any pending outgoing data.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.sendIQ" id=link97 onMouseOver="ShowTip(event, 'tt48', 'link97')" onMouseOut="HideTip('tt48')">sendIQ</a></td><td class=SDescription>Helper function to send IQ stanzas.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.addTimedHandler" id=link98 onMouseOver="ShowTip(event, 'tt49', 'link98')" onMouseOut="HideTip('tt49')">addTimedHandler</a></td><td class=SDescription>Add a timed handler to the connection.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.deleteTimedHandler" id=link99 onMouseOver="ShowTip(event, 'tt50', 'link99')" onMouseOut="HideTip('tt50')">deleteTimedHandler</a></td><td class=SDescription>Delete a timed handler for a connection.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.addHandler" id=link100 onMouseOver="ShowTip(event, 'tt51', 'link100')" onMouseOut="HideTip('tt51')">addHandler</a></td><td class=SDescription>Add a stanza handler for the connection.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#Strophe.Connection.deleteHandler" id=link101 onMouseOver="ShowTip(event, 'tt52', 'link101')" onMouseOut="HideTip('tt52')">deleteHandler</a></td><td class=SDescription>Delete a stanza handler for a connection.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#Strophe.Connection.disconnect" id=link102 onMouseOver="ShowTip(event, 'tt53', 'link102')" onMouseOut="HideTip('tt53')">disconnect</a></td><td class=SDescription>Start the graceful disconnection process.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> | |
118 | + | |
119 | +<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.Functions"></a>Functions</h3></div></div> | |
120 | + | |
121 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.Strophe.Connection"></a>Strophe.<wbr>Connection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Strophe.Connection = function (</td><td class=PParameter nowrap>service</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create and initialize a Strophe.Connection object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) service</td><td class=CDLDescription>The BOSH service URL.</td></tr></table><h4 class=CHeading>Returns</h4><p>A new Strophe.Connection object.</p></div></div></div> | |
122 | + | |
123 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.reset"></a>reset</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>reset: function ()</td></tr></table></blockquote><p>Reset the connection.</p><p>This function should be called after a connection is disconnected before that connection is reused.</p></div></div></div> | |
124 | + | |
125 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.pause"></a>pause</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>pause: function ()</td></tr></table></blockquote><p>Pause the request manager.</p><p>This will prevent Strophe from sending any more requests to the server. This is very useful for temporarily pausing while a lot of send() calls are happening quickly. This causes Strophe to send the data in a single request, saving many request trips.</p></div></div></div> | |
126 | + | |
127 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.resume"></a>resume</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>resume: function ()</td></tr></table></blockquote><p>Resume the request manager.</p><p>This resumes after pause() has been called.</p></div></div></div> | |
128 | + | |
129 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.getUniqueId"></a>getUniqueId</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getUniqueId: function (</td><td class=PParameter nowrap>suffix</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generate a unique ID for use in <iq/> elements.</p><p>All <iq/> stanzas are required to have unique id attributes. This function makes creating these easy. Each connection instance has a counter which starts from zero, and the value of this counter plus a colon followed by the suffix becomes the unique id. If no suffix is supplied, the counter is used as the unique id.</p><p>Suffixes are used to make debugging easier when reading the stream data, and their use is recommended. The counter resets to 0 for every new connection for the same reason. For connections to the same server that authenticate the same way, all the ids should be the same, which makes it easy to see changes. This is useful for automated testing as well.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) suffix</td><td class=CDLDescription>A optional suffix to append to the id.</td></tr></table><h4 class=CHeading>Returns</h4><p>A unique string to be used for the id attribute.</p></div></div></div> | |
130 | + | |
131 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.connect"></a>connect</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>connect: function (</td><td class=PParameter nowrap>jid,</td></tr><tr><td></td><td class=PParameter nowrap>pass,</td></tr><tr><td></td><td class=PParameter nowrap>callback,</td></tr><tr><td></td><td class=PParameter nowrap>wait,</td></tr><tr><td></td><td class=PParameter nowrap>hold</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Starts the connection process.</p><p>As the connection process proceeds, the user supplied callback will be triggered multiple times with status updates. The callback should take two arguments - the status code and the error condition.</p><p>The status code will be one of the values in the Strophe.Status constants. The error condition will be one of the conditions defined in RFC 3920 or the condition ‘strophe-parsererror’.</p><p>Please see XEP 124 for a more detailed explanation of the optional parameters below.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) jid</td><td class=CDLDescription>The user’s JID. This may be a bare JID, or a full JID. If a node is not supplied, SASL ANONYMOUS authentication will be attempted.</td></tr><tr><td class=CDLEntry>(String) pass</td><td class=CDLDescription>The user’s password. (Function) callback The connect callback function.</td></tr><tr><td class=CDLEntry>(Integer) wait</td><td class=CDLDescription>The optional HTTPBIND wait value. This is the time the server will wait before returning an empty result for a request. The default setting of 60 seconds is recommended. Other settings will require tweaks to the Strophe.TIMEOUT value.</td></tr><tr><td class=CDLEntry>(Integer) hold</td><td class=CDLDescription>The optional HTTPBIND hold value. This is the number of connections the server will hold at one time. This should almost always be set to 1 (the default).</td></tr></table></div></div></div> | |
132 | + | |
133 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.attach"></a>attach</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>attach: function (</td><td class=PParameter nowrap>jid,</td></tr><tr><td></td><td class=PParameter nowrap>sid,</td></tr><tr><td></td><td class=PParameter nowrap>rid,</td></tr><tr><td></td><td class=PParameter nowrap>callback,</td></tr><tr><td></td><td class=PParameter nowrap>wait,</td></tr><tr><td></td><td class=PParameter nowrap>hold,</td></tr><tr><td></td><td class=PParameter nowrap>wind</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Attach to an already created and authenticated BOSH session.</p><p>This function is provided to allow Strophe to attach to BOSH sessions which have been created externally, perhaps by a Web application. This is often used to support auto-login type features without putting user credentials into the page.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) jid</td><td class=CDLDescription>The full JID that is bound by the session.</td></tr><tr><td class=CDLEntry>(String) sid</td><td class=CDLDescription>The SID of the BOSH session.</td></tr><tr><td class=CDLEntry>(String) rid</td><td class=CDLDescription>The current RID of the BOSH session. This RID will be used by the next request. (Function) callback The connect callback function.</td></tr><tr><td class=CDLEntry>(Integer) wait</td><td class=CDLDescription>The optional HTTPBIND wait value. This is the time the server will wait before returning an empty result for a request. The default setting of 60 seconds is recommended. Other settings will require tweaks to the Strophe.TIMEOUT value.</td></tr><tr><td class=CDLEntry>(Integer) hold</td><td class=CDLDescription>The optional HTTPBIND hold value. This is the number of connections the server will hold at one time. This should almost always be set to 1 (the default).</td></tr><tr><td class=CDLEntry>(Integer) wind</td><td class=CDLDescription>The optional HTTBIND window value. This is the allowed range of request ids that are valid. The default is 5.</td></tr></table></div></div></div> | |
134 | + | |
135 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.xmlInput"></a>xmlInput</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlInput: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>User overrideable function that receives XML data coming into the connection.</p><p>The default function does nothing. User code can override this with</p><blockquote><pre>Strophe.Connection.xmlInput = function (elem) { | |
136 | + (user code) | |
137 | +};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>The XML data received by the connection.</td></tr></table></div></div></div> | |
138 | + | |
139 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.xmlOutput"></a>xmlOutput</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlOutput: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>User overrideable function that receives XML data sent to the connection.</p><p>The default function does nothing. User code can override this with</p><blockquote><pre>Strophe.Connection.xmlOutput = function (elem) { | |
140 | + (user code) | |
141 | +};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>The XMLdata sent by the connection.</td></tr></table></div></div></div> | |
142 | + | |
143 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.rawInput"></a>rawInput</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>rawInput: function (</td><td class=PParameter nowrap>data</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>User overrideable function that receives raw data coming into the connection.</p><p>The default function does nothing. User code can override this with</p><blockquote><pre>Strophe.Connection.rawInput = function (data) { | |
144 | + (user code) | |
145 | +};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) data</td><td class=CDLDescription>The data received by the connection.</td></tr></table></div></div></div> | |
146 | + | |
147 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.rawOutput"></a>rawOutput</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>rawOutput: function (</td><td class=PParameter nowrap>data</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>User overrideable function that receives raw data sent to the connection.</p><p>The default function does nothing. User code can override this with</p><blockquote><pre>Strophe.Connection.rawOutput = function (data) { | |
148 | + (user code) | |
149 | +};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) data</td><td class=CDLDescription>The data sent by the connection.</td></tr></table></div></div></div> | |
150 | + | |
151 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.send"></a>send</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>send: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Send a stanza.</p><p>This function is called to push data onto the send queue to go out over the wire. Whenever a request is sent to the BOSH server, all pending data is sent and the queue is flushed.</p><h4 class=CHeading>Parameters</h4><p>(XMLElement | [XMLElement] | Strophe.Builder) elem - The stanza to send.</p></div></div></div> | |
152 | + | |
153 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.flush"></a>flush</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>flush: function ()</td></tr></table></blockquote><p>Immediately send any pending outgoing data.</p><p>Normally send() queues outgoing data until the next idle period (100ms), which optimizes network use in the common cases when several send()s are called in succession. flush() can be used to immediately send all pending data.</p></div></div></div> | |
154 | + | |
155 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.sendIQ"></a>sendIQ</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>sendIQ: function(</td><td class=PParameter nowrap>elem,</td></tr><tr><td></td><td class=PParameter nowrap>callback,</td></tr><tr><td></td><td class=PParameter nowrap>errback,</td></tr><tr><td></td><td class=PParameter nowrap>timeout</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Helper function to send IQ stanzas.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(XMLElement) elem</td><td class=CDLDescription>The stanza to send.</td></tr><tr><td class=CDLEntry>(Function) callback</td><td class=CDLDescription>The callback function for a successful request.</td></tr><tr><td class=CDLEntry>(Function) errback</td><td class=CDLDescription>The callback function for a failed or timed out request. On timeout, the stanza will be null.</td></tr><tr><td class=CDLEntry>(Integer) timeout</td><td class=CDLDescription>The time specified in milliseconds for a timeout to occur.</td></tr></table><h4 class=CHeading>Returns</h4><p>The id used to send the IQ.</p></div></div></div> | |
156 | + | |
157 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.addTimedHandler"></a>addTimedHandler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addTimedHandler: function (</td><td class=PParameter nowrap>period,</td></tr><tr><td></td><td class=PParameter nowrap>handler</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Add a timed handler to the connection.</p><p>This function adds a timed handler. The provided handler will be called every period milliseconds until it returns false, the connection is terminated, or the handler is removed. Handlers that wish to continue being invoked should return true.</p><p>Because of method binding it is necessary to save the result of this function if you wish to remove a handler with deleteTimedHandler().</p><p>Note that user handlers are not active until authentication is successful.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Integer) period</td><td class=CDLDescription>The period of the handler.</td></tr><tr><td class=CDLEntry>(Function) handler</td><td class=CDLDescription>The callback function.</td></tr></table><h4 class=CHeading>Returns</h4><p>A reference to the handler that can be used to remove it.</p></div></div></div> | |
158 | + | |
159 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.deleteTimedHandler"></a>deleteTimedHandler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>deleteTimedHandler: function (</td><td class=PParameter nowrap>handRef</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Delete a timed handler for a connection.</p><p>This function removes a timed handler from the connection. The handRef parameter is <b>not</b> the function passed to addTimedHandler(), but is the reference returned from addTimedHandler().</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Strophe.TimedHandler) handRef</td><td class=CDLDescription>The handler reference.</td></tr></table></div></div></div> | |
160 | + | |
161 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.addHandler"></a>addHandler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addHandler: function (</td><td class=PParameter nowrap>handler,</td></tr><tr><td></td><td class=PParameter nowrap>ns,</td></tr><tr><td></td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>from,</td></tr><tr><td></td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Add a stanza handler for the connection.</p><p>This function adds a stanza handler to the connection. The handler callback will be called for any stanza that matches the parameters. Note that if multiple parameters are supplied, they must all match for the handler to be invoked.</p><p>The handler will receive the stanza that triggered it as its argument. The handler should return true if it is to be invoked again; returning false will remove the handler after it returns.</p><p>As a convenience, the ns parameters applies to the top level element and also any of its immediate children. This is primarily to make matching /iq/query elements easy.</p><p>The options argument contains handler matching flags that affect how matches are determined. Currently the only flag is matchBare (a boolean). When matchBare is true, the from parameter and the from attribute on the stanza will be matched as bare JIDs instead of full JIDs. To use this, pass {matchBare: true} as the value of options. The default value for matchBare is false.</p><p>The return value should be saved if you wish to remove the handler with deleteHandler().</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Function) handler</td><td class=CDLDescription>The user callback.</td></tr><tr><td class=CDLEntry>(String) ns</td><td class=CDLDescription>The namespace to match.</td></tr><tr><td class=CDLEntry>(String) name</td><td class=CDLDescription>The stanza name to match.</td></tr><tr><td class=CDLEntry>(String) type</td><td class=CDLDescription>The stanza type attribute to match.</td></tr><tr><td class=CDLEntry>(String) id</td><td class=CDLDescription>The stanza id attribute to match.</td></tr><tr><td class=CDLEntry>(String) from</td><td class=CDLDescription>The stanza from attribute to match.</td></tr><tr><td class=CDLEntry>(String) options</td><td class=CDLDescription>The handler options</td></tr></table><h4 class=CHeading>Returns</h4><p>A reference to the handler that can be used to remove it.</p></div></div></div> | |
162 | + | |
163 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.deleteHandler"></a>deleteHandler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>deleteHandler: function (</td><td class=PParameter nowrap>handRef</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Delete a stanza handler for a connection.</p><p>This function removes a stanza handler from the connection. The handRef parameter is <b>not</b> the function passed to addHandler(), but is the reference returned from addHandler().</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(Strophe.Handler) handRef</td><td class=CDLDescription>The handler reference.</td></tr></table></div></div></div> | |
164 | + | |
165 | +<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Strophe.Connection.disconnect"></a>disconnect</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>disconnect: function (</td><td class=PParameter nowrap>reason</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Start the graceful disconnection process.</p><p>This function starts the disconnection process. This process starts by sending unavailable presence and sending BOSH body of type terminate. A timeout handler makes sure that disconnection happens even if the BOSH server does not respond.</p><p>The user supplied connection callback will be notified of the progress as this process happens.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>(String) reason</td><td class=CDLDescription>The reason the disconnect is occuring.</td></tr></table></div></div></div> | |
166 | + | |
167 | +</div><!--Content--> | |
168 | + | |
169 | + | |
170 | +<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer--> | |
171 | + | |
172 | + | |
173 | +<div id=Menu><div class=MEntry><div class=MFile id=MSelected>js</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div></div></div></div><script type="text/javascript"><!-- | |
174 | +var searchPanel = new SearchPanel("searchPanel", "HTML", "../search"); | |
175 | +--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Files">Files</option><option value="Functions">Functions</option></select></div></div><!--Menu--> | |
176 | + | |
177 | + | |
178 | + | |
179 | +<!--START_ND_TOOLTIPS--> | |
180 | +<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $build(</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create a Strophe.Builder. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $msg(</td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create a Strophe.Builder with a message/ element as the root.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $iq(</td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create a Strophe.Builder with an iq/ element as the root.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function $pres(</td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create a Strophe.Builder with a presence/ element as the root.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addNamespace: function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This function is used to extend the current namespaces in Strophe.NS. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>forEachChild: function (</td><td class=PParameter nowrap>elem,</td></tr><tr><td></td><td class=PParameter nowrap>elemName,</td></tr><tr><td></td><td class=PParameter nowrap>func</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Map a function over some or all child elements of a given element.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isTagEqual: function (</td><td class=PParameter nowrap>el,</td></tr><tr><td></td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Compare an element’s tag name with a string.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlElement: function (</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create an XML DOM element.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlescape: function(</td><td class=PParameter nowrap>text</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Excapes invalid xml characters.</div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlTextNode: function (</td><td class=PParameter nowrap>text</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates an XML DOM text node.</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getText: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Get the concatenation of all text children of an element.</div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>copyElement: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Copy an XML DOM element.</div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>escapeNode: function (</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Escape the node part (also called local part) of a JID.</div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>unescapeNode: function (</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Unescape a node part (also called local part) of a JID.</div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getNodeFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Get the node portion of a JID String.</div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getDomainFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Get the domain portion of a JID String.</div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getResourceFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Get the resource portion of a JID String.</div></div><div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getBareJidFromJid: function (</td><td class=PParameter nowrap>jid</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Get the bare JID from a JID String.</div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>log: function (</td><td class=PParameter nowrap>level,</td></tr><tr><td></td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>User overrideable logging function.</div></div><div class=CToolTip id="tt20"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>debug: function(</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Log a message at the Strophe.LogLevel.DEBUG level.</div></div><div class=CToolTip id="tt21"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>info: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Log a message at the Strophe.LogLevel.INFO level.</div></div><div class=CToolTip id="tt22"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>warn: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Log a message at the Strophe.LogLevel.WARN level.</div></div><div class=CToolTip id="tt23"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>error: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Log a message at the Strophe.LogLevel.ERROR level.</div></div><div class=CToolTip id="tt24"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>fatal: function (</td><td class=PParameter nowrap>msg</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Log a message at the Strophe.LogLevel.FATAL level.</div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>serialize: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Render a DOM element and all descendants to a String.</div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addConnectionPlugin: function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>ptype</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Extends the Strophe.Connection object with the given plugin.</div></div><div class=CToolTip id="tt27"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Strophe.Builder = function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create a Strophe.Builder object.</div></div><div class=CToolTip id="tt28"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>tree: function ()</td></tr></table></blockquote>Return the DOM tree.</div></div><div class=CToolTip id="tt29"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>toString: function ()</td></tr></table></blockquote>Serialize the DOM tree to a String.</div></div><div class=CToolTip id="tt30"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>up: function ()</td></tr></table></blockquote>Make the current parent element the new current element.</div></div><div class=CToolTip id="tt31"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>attrs: function (</td><td class=PParameter nowrap>moreattrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Add or modify attributes of the current element.</div></div><div class=CToolTip id="tt32"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>c: function (</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>attrs</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Add a child to the current element and make it the new current element.</div></div><div class=CToolTip id="tt33"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>cnode: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Add a child to the current element and make it the new current element.</div></div><div class=CToolTip id="tt34"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>t: function (</td><td class=PParameter nowrap>text</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Add a child text element.</div></div><div class=CToolTip id="tt35"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Strophe.Connection = function (</td><td class=PParameter nowrap>service</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create and initialize a Strophe.Connection object.</div></div><div class=CToolTip id="tt36"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>reset: function ()</td></tr></table></blockquote>Reset the connection.</div></div><div class=CToolTip id="tt37"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>pause: function ()</td></tr></table></blockquote>Pause the request manager.</div></div><div class=CToolTip id="tt38"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>resume: function ()</td></tr></table></blockquote>Resume the request manager.</div></div><div class=CToolTip id="tt39"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getUniqueId: function (</td><td class=PParameter nowrap>suffix</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Generate a unique ID for use in iq/ elements.</div></div><div class=CToolTip id="tt40"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>connect: function (</td><td class=PParameter nowrap>jid,</td></tr><tr><td></td><td class=PParameter nowrap>pass,</td></tr><tr><td></td><td class=PParameter nowrap>callback,</td></tr><tr><td></td><td class=PParameter nowrap>wait,</td></tr><tr><td></td><td class=PParameter nowrap>hold</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Starts the connection process.</div></div><div class=CToolTip id="tt41"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>attach: function (</td><td class=PParameter nowrap>jid,</td></tr><tr><td></td><td class=PParameter nowrap>sid,</td></tr><tr><td></td><td class=PParameter nowrap>rid,</td></tr><tr><td></td><td class=PParameter nowrap>callback,</td></tr><tr><td></td><td class=PParameter nowrap>wait,</td></tr><tr><td></td><td class=PParameter nowrap>hold,</td></tr><tr><td></td><td class=PParameter nowrap>wind</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Attach to an already created and authenticated BOSH session.</div></div><div class=CToolTip id="tt42"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlInput: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>User overrideable function that receives XML data coming into the connection.</div></div><div class=CToolTip id="tt43"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>xmlOutput: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>User overrideable function that receives XML data sent to the connection.</div></div><div class=CToolTip id="tt44"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>rawInput: function (</td><td class=PParameter nowrap>data</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>User overrideable function that receives raw data coming into the connection.</div></div><div class=CToolTip id="tt45"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>rawOutput: function (</td><td class=PParameter nowrap>data</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>User overrideable function that receives raw data sent to the connection.</div></div><div class=CToolTip id="tt46"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>send: function (</td><td class=PParameter nowrap>elem</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Send a stanza.</div></div><div class=CToolTip id="tt47"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>flush: function ()</td></tr></table></blockquote>Immediately send any pending outgoing data.</div></div><div class=CToolTip id="tt48"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>sendIQ: function(</td><td class=PParameter nowrap>elem,</td></tr><tr><td></td><td class=PParameter nowrap>callback,</td></tr><tr><td></td><td class=PParameter nowrap>errback,</td></tr><tr><td></td><td class=PParameter nowrap>timeout</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Helper function to send IQ stanzas.</div></div><div class=CToolTip id="tt49"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addTimedHandler: function (</td><td class=PParameter nowrap>period,</td></tr><tr><td></td><td class=PParameter nowrap>handler</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Add a timed handler to the connection.</div></div><div class=CToolTip id="tt50"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>deleteTimedHandler: function (</td><td class=PParameter nowrap>handRef</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Delete a timed handler for a connection.</div></div><div class=CToolTip id="tt51"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addHandler: function (</td><td class=PParameter nowrap>handler,</td></tr><tr><td></td><td class=PParameter nowrap>ns,</td></tr><tr><td></td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>from,</td></tr><tr><td></td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Add a stanza handler for the connection.</div></div><div class=CToolTip id="tt52"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>deleteHandler: function (</td><td class=PParameter nowrap>handRef</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Delete a stanza handler for a connection.</div></div><div class=CToolTip id="tt53"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>disconnect: function (</td><td class=PParameter nowrap>reason</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Start the graceful disconnection process.</div></div><!--END_ND_TOOLTIPS--> | |
181 | + | |
182 | + | |
183 | + | |
184 | + | |
185 | +<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div> | |
186 | + | |
187 | + | |
188 | +<script language=JavaScript><!-- | |
189 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 190 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/javascript/main.js
0 → 100644
... | ... | @@ -0,0 +1,836 @@ |
1 | +// This file is part of Natural Docs, which is Copyright (C) 2003-2008 Greg Valure | |
2 | +// Natural Docs is licensed under the GPL | |
3 | + | |
4 | + | |
5 | +// | |
6 | +// Browser Styles | |
7 | +// ____________________________________________________________________________ | |
8 | + | |
9 | +var agt=navigator.userAgent.toLowerCase(); | |
10 | +var browserType; | |
11 | +var browserVer; | |
12 | + | |
13 | +if (agt.indexOf("opera") != -1) | |
14 | + { | |
15 | + browserType = "Opera"; | |
16 | + | |
17 | + if (agt.indexOf("opera 7") != -1 || agt.indexOf("opera/7") != -1) | |
18 | + { browserVer = "Opera7"; } | |
19 | + else if (agt.indexOf("opera 8") != -1 || agt.indexOf("opera/8") != -1) | |
20 | + { browserVer = "Opera8"; } | |
21 | + else if (agt.indexOf("opera 9") != -1 || agt.indexOf("opera/9") != -1) | |
22 | + { browserVer = "Opera9"; } | |
23 | + } | |
24 | + | |
25 | +else if (agt.indexOf("applewebkit") != -1) | |
26 | + { | |
27 | + browserType = "Safari"; | |
28 | + | |
29 | + if (agt.indexOf("version/3") != -1) | |
30 | + { browserVer = "Safari3"; } | |
31 | + else if (agt.indexOf("safari/4") != -1) | |
32 | + { browserVer = "Safari2"; } | |
33 | + } | |
34 | + | |
35 | +else if (agt.indexOf("khtml") != -1) | |
36 | + { | |
37 | + browserType = "Konqueror"; | |
38 | + } | |
39 | + | |
40 | +else if (agt.indexOf("msie") != -1) | |
41 | + { | |
42 | + browserType = "IE"; | |
43 | + | |
44 | + if (agt.indexOf("msie 6") != -1) | |
45 | + { browserVer = "IE6"; } | |
46 | + else if (agt.indexOf("msie 7") != -1) | |
47 | + { browserVer = "IE7"; } | |
48 | + } | |
49 | + | |
50 | +else if (agt.indexOf("gecko") != -1) | |
51 | + { | |
52 | + browserType = "Firefox"; | |
53 | + | |
54 | + if (agt.indexOf("rv:1.7") != -1) | |
55 | + { browserVer = "Firefox1"; } | |
56 | + else if (agt.indexOf("rv:1.8)") != -1 || agt.indexOf("rv:1.8.0") != -1) | |
57 | + { browserVer = "Firefox15"; } | |
58 | + else if (agt.indexOf("rv:1.8.1") != -1) | |
59 | + { browserVer = "Firefox2"; } | |
60 | + } | |
61 | + | |
62 | + | |
63 | +// | |
64 | +// Support Functions | |
65 | +// ____________________________________________________________________________ | |
66 | + | |
67 | + | |
68 | +function GetXPosition(item) | |
69 | + { | |
70 | + var position = 0; | |
71 | + | |
72 | + if (item.offsetWidth != null) | |
73 | + { | |
74 | + while (item != document.body && item != null) | |
75 | + { | |
76 | + position += item.offsetLeft; | |
77 | + item = item.offsetParent; | |
78 | + }; | |
79 | + }; | |
80 | + | |
81 | + return position; | |
82 | + }; | |
83 | + | |
84 | + | |
85 | +function GetYPosition(item) | |
86 | + { | |
87 | + var position = 0; | |
88 | + | |
89 | + if (item.offsetWidth != null) | |
90 | + { | |
91 | + while (item != document.body && item != null) | |
92 | + { | |
93 | + position += item.offsetTop; | |
94 | + item = item.offsetParent; | |
95 | + }; | |
96 | + }; | |
97 | + | |
98 | + return position; | |
99 | + }; | |
100 | + | |
101 | + | |
102 | +function MoveToPosition(item, x, y) | |
103 | + { | |
104 | + // Opera 5 chokes on the px extension, so it can use the Microsoft one instead. | |
105 | + | |
106 | + if (item.style.left != null) | |
107 | + { | |
108 | + item.style.left = x + "px"; | |
109 | + item.style.top = y + "px"; | |
110 | + } | |
111 | + else if (item.style.pixelLeft != null) | |
112 | + { | |
113 | + item.style.pixelLeft = x; | |
114 | + item.style.pixelTop = y; | |
115 | + }; | |
116 | + }; | |
117 | + | |
118 | + | |
119 | +// | |
120 | +// Menu | |
121 | +// ____________________________________________________________________________ | |
122 | + | |
123 | + | |
124 | +function ToggleMenu(id) | |
125 | + { | |
126 | + if (!window.document.getElementById) | |
127 | + { return; }; | |
128 | + | |
129 | + var display = window.document.getElementById(id).style.display; | |
130 | + | |
131 | + if (display == "none") | |
132 | + { display = "block"; } | |
133 | + else | |
134 | + { display = "none"; } | |
135 | + | |
136 | + window.document.getElementById(id).style.display = display; | |
137 | + } | |
138 | + | |
139 | +function HideAllBut(ids, max) | |
140 | + { | |
141 | + if (document.getElementById) | |
142 | + { | |
143 | + ids.sort( function(a,b) { return a - b; } ); | |
144 | + var number = 1; | |
145 | + | |
146 | + while (number < max) | |
147 | + { | |
148 | + if (ids.length > 0 && number == ids[0]) | |
149 | + { ids.shift(); } | |
150 | + else | |
151 | + { | |
152 | + document.getElementById("MGroupContent" + number).style.display = "none"; | |
153 | + }; | |
154 | + | |
155 | + number++; | |
156 | + }; | |
157 | + }; | |
158 | + } | |
159 | + | |
160 | + | |
161 | +// | |
162 | +// Tooltips | |
163 | +// ____________________________________________________________________________ | |
164 | + | |
165 | + | |
166 | +var tooltipTimer = 0; | |
167 | + | |
168 | +function ShowTip(event, tooltipID, linkID) | |
169 | + { | |
170 | + if (tooltipTimer) | |
171 | + { clearTimeout(tooltipTimer); }; | |
172 | + | |
173 | + var docX = event.clientX + window.pageXOffset; | |
174 | + var docY = event.clientY + window.pageYOffset; | |
175 | + | |
176 | + var showCommand = "ReallyShowTip('" + tooltipID + "', '" + linkID + "', " + docX + ", " + docY + ")"; | |
177 | + | |
178 | + tooltipTimer = setTimeout(showCommand, 1000); | |
179 | + } | |
180 | + | |
181 | +function ReallyShowTip(tooltipID, linkID, docX, docY) | |
182 | + { | |
183 | + tooltipTimer = 0; | |
184 | + | |
185 | + var tooltip; | |
186 | + var link; | |
187 | + | |
188 | + if (document.getElementById) | |
189 | + { | |
190 | + tooltip = document.getElementById(tooltipID); | |
191 | + link = document.getElementById(linkID); | |
192 | + } | |
193 | +/* else if (document.all) | |
194 | + { | |
195 | + tooltip = eval("document.all['" + tooltipID + "']"); | |
196 | + link = eval("document.all['" + linkID + "']"); | |
197 | + } | |
198 | +*/ | |
199 | + if (tooltip) | |
200 | + { | |
201 | + var left = GetXPosition(link); | |
202 | + var top = GetYPosition(link); | |
203 | + top += link.offsetHeight; | |
204 | + | |
205 | + | |
206 | + // The fallback method is to use the mouse X and Y relative to the document. We use a separate if and test if its a number | |
207 | + // in case some browser snuck through the above if statement but didn't support everything. | |
208 | + | |
209 | + if (!isFinite(top) || top == 0) | |
210 | + { | |
211 | + left = docX; | |
212 | + top = docY; | |
213 | + } | |
214 | + | |
215 | + // Some spacing to get it out from under the cursor. | |
216 | + | |
217 | + top += 10; | |
218 | + | |
219 | + // Make sure the tooltip doesnt get smushed by being too close to the edge, or in some browsers, go off the edge of the | |
220 | + // page. We do it here because Konqueror does get offsetWidth right even if it doesnt get the positioning right. | |
221 | + | |
222 | + if (tooltip.offsetWidth != null) | |
223 | + { | |
224 | + var width = tooltip.offsetWidth; | |
225 | + var docWidth = document.body.clientWidth; | |
226 | + | |
227 | + if (left + width > docWidth) | |
228 | + { left = docWidth - width - 1; } | |
229 | + | |
230 | + // If there's a horizontal scroll bar we could go past zero because it's using the page width, not the window width. | |
231 | + if (left < 0) | |
232 | + { left = 0; }; | |
233 | + } | |
234 | + | |
235 | + MoveToPosition(tooltip, left, top); | |
236 | + tooltip.style.visibility = "visible"; | |
237 | + } | |
238 | + } | |
239 | + | |
240 | +function HideTip(tooltipID) | |
241 | + { | |
242 | + if (tooltipTimer) | |
243 | + { | |
244 | + clearTimeout(tooltipTimer); | |
245 | + tooltipTimer = 0; | |
246 | + } | |
247 | + | |
248 | + var tooltip; | |
249 | + | |
250 | + if (document.getElementById) | |
251 | + { tooltip = document.getElementById(tooltipID); } | |
252 | + else if (document.all) | |
253 | + { tooltip = eval("document.all['" + tooltipID + "']"); } | |
254 | + | |
255 | + if (tooltip) | |
256 | + { tooltip.style.visibility = "hidden"; } | |
257 | + } | |
258 | + | |
259 | + | |
260 | +// | |
261 | +// Blockquote fix for IE | |
262 | +// ____________________________________________________________________________ | |
263 | + | |
264 | + | |
265 | +function NDOnLoad() | |
266 | + { | |
267 | + if (browserVer == "IE6") | |
268 | + { | |
269 | + var scrollboxes = document.getElementsByTagName('blockquote'); | |
270 | + | |
271 | + if (scrollboxes.item(0)) | |
272 | + { | |
273 | + NDDoResize(); | |
274 | + window.onresize=NDOnResize; | |
275 | + }; | |
276 | + }; | |
277 | + }; | |
278 | + | |
279 | + | |
280 | +var resizeTimer = 0; | |
281 | + | |
282 | +function NDOnResize() | |
283 | + { | |
284 | + if (resizeTimer != 0) | |
285 | + { clearTimeout(resizeTimer); }; | |
286 | + | |
287 | + resizeTimer = setTimeout(NDDoResize, 250); | |
288 | + }; | |
289 | + | |
290 | + | |
291 | +function NDDoResize() | |
292 | + { | |
293 | + var scrollboxes = document.getElementsByTagName('blockquote'); | |
294 | + | |
295 | + var i; | |
296 | + var item; | |
297 | + | |
298 | + i = 0; | |
299 | + while (item = scrollboxes.item(i)) | |
300 | + { | |
301 | + item.style.width = 100; | |
302 | + i++; | |
303 | + }; | |
304 | + | |
305 | + i = 0; | |
306 | + while (item = scrollboxes.item(i)) | |
307 | + { | |
308 | + item.style.width = item.parentNode.offsetWidth; | |
309 | + i++; | |
310 | + }; | |
311 | + | |
312 | + clearTimeout(resizeTimer); | |
313 | + resizeTimer = 0; | |
314 | + } | |
315 | + | |
316 | + | |
317 | + | |
318 | +/* ________________________________________________________________________________________________________ | |
319 | + | |
320 | + Class: SearchPanel | |
321 | + ________________________________________________________________________________________________________ | |
322 | + | |
323 | + A class handling everything associated with the search panel. | |
324 | + | |
325 | + Parameters: | |
326 | + | |
327 | + name - The name of the global variable that will be storing this instance. Is needed to be able to set timeouts. | |
328 | + mode - The mode the search is going to work in. Pass <NaturalDocs::Builder::Base->CommandLineOption()>, so the | |
329 | + value will be something like "HTML" or "FramedHTML". | |
330 | + | |
331 | + ________________________________________________________________________________________________________ | |
332 | +*/ | |
333 | + | |
334 | + | |
335 | +function SearchPanel(name, mode, resultsPath) | |
336 | + { | |
337 | + if (!name || !mode || !resultsPath) | |
338 | + { alert("Incorrect parameters to SearchPanel."); }; | |
339 | + | |
340 | + | |
341 | + // Group: Variables | |
342 | + // ________________________________________________________________________ | |
343 | + | |
344 | + /* | |
345 | + var: name | |
346 | + The name of the global variable that will be storing this instance of the class. | |
347 | + */ | |
348 | + this.name = name; | |
349 | + | |
350 | + /* | |
351 | + var: mode | |
352 | + The mode the search is going to work in, such as "HTML" or "FramedHTML". | |
353 | + */ | |
354 | + this.mode = mode; | |
355 | + | |
356 | + /* | |
357 | + var: resultsPath | |
358 | + The relative path from the current HTML page to the results page directory. | |
359 | + */ | |
360 | + this.resultsPath = resultsPath; | |
361 | + | |
362 | + /* | |
363 | + var: keyTimeout | |
364 | + The timeout used between a keystroke and when a search is performed. | |
365 | + */ | |
366 | + this.keyTimeout = 0; | |
367 | + | |
368 | + /* | |
369 | + var: keyTimeoutLength | |
370 | + The length of <keyTimeout> in thousandths of a second. | |
371 | + */ | |
372 | + this.keyTimeoutLength = 500; | |
373 | + | |
374 | + /* | |
375 | + var: lastSearchValue | |
376 | + The last search string executed, or an empty string if none. | |
377 | + */ | |
378 | + this.lastSearchValue = ""; | |
379 | + | |
380 | + /* | |
381 | + var: lastResultsPage | |
382 | + The last results page. The value is only relevant if <lastSearchValue> is set. | |
383 | + */ | |
384 | + this.lastResultsPage = ""; | |
385 | + | |
386 | + /* | |
387 | + var: deactivateTimeout | |
388 | + | |
389 | + The timeout used between when a control is deactivated and when the entire panel is deactivated. Is necessary | |
390 | + because a control may be deactivated in favor of another control in the same panel, in which case it should stay | |
391 | + active. | |
392 | + */ | |
393 | + this.deactivateTimout = 0; | |
394 | + | |
395 | + /* | |
396 | + var: deactivateTimeoutLength | |
397 | + The length of <deactivateTimeout> in thousandths of a second. | |
398 | + */ | |
399 | + this.deactivateTimeoutLength = 200; | |
400 | + | |
401 | + | |
402 | + | |
403 | + | |
404 | + // Group: DOM Elements | |
405 | + // ________________________________________________________________________ | |
406 | + | |
407 | + | |
408 | + // Function: DOMSearchField | |
409 | + this.DOMSearchField = function() | |
410 | + { return document.getElementById("MSearchField"); }; | |
411 | + | |
412 | + // Function: DOMSearchType | |
413 | + this.DOMSearchType = function() | |
414 | + { return document.getElementById("MSearchType"); }; | |
415 | + | |
416 | + // Function: DOMPopupSearchResults | |
417 | + this.DOMPopupSearchResults = function() | |
418 | + { return document.getElementById("MSearchResults"); }; | |
419 | + | |
420 | + // Function: DOMPopupSearchResultsWindow | |
421 | + this.DOMPopupSearchResultsWindow = function() | |
422 | + { return document.getElementById("MSearchResultsWindow"); }; | |
423 | + | |
424 | + // Function: DOMSearchPanel | |
425 | + this.DOMSearchPanel = function() | |
426 | + { return document.getElementById("MSearchPanel"); }; | |
427 | + | |
428 | + | |
429 | + | |
430 | + | |
431 | + // Group: Event Handlers | |
432 | + // ________________________________________________________________________ | |
433 | + | |
434 | + | |
435 | + /* | |
436 | + Function: OnSearchFieldFocus | |
437 | + Called when focus is added or removed from the search field. | |
438 | + */ | |
439 | + this.OnSearchFieldFocus = function(isActive) | |
440 | + { | |
441 | + this.Activate(isActive); | |
442 | + }; | |
443 | + | |
444 | + | |
445 | + /* | |
446 | + Function: OnSearchFieldChange | |
447 | + Called when the content of the search field is changed. | |
448 | + */ | |
449 | + this.OnSearchFieldChange = function() | |
450 | + { | |
451 | + if (this.keyTimeout) | |
452 | + { | |
453 | + clearTimeout(this.keyTimeout); | |
454 | + this.keyTimeout = 0; | |
455 | + }; | |
456 | + | |
457 | + var searchValue = this.DOMSearchField().value.replace(/ +/g, ""); | |
458 | + | |
459 | + if (searchValue != this.lastSearchValue) | |
460 | + { | |
461 | + if (searchValue != "") | |
462 | + { | |
463 | + this.keyTimeout = setTimeout(this.name + ".Search()", this.keyTimeoutLength); | |
464 | + } | |
465 | + else | |
466 | + { | |
467 | + if (this.mode == "HTML") | |
468 | + { this.DOMPopupSearchResultsWindow().style.display = "none"; }; | |
469 | + this.lastSearchValue = ""; | |
470 | + }; | |
471 | + }; | |
472 | + }; | |
473 | + | |
474 | + | |
475 | + /* | |
476 | + Function: OnSearchTypeFocus | |
477 | + Called when focus is added or removed from the search type. | |
478 | + */ | |
479 | + this.OnSearchTypeFocus = function(isActive) | |
480 | + { | |
481 | + this.Activate(isActive); | |
482 | + }; | |
483 | + | |
484 | + | |
485 | + /* | |
486 | + Function: OnSearchTypeChange | |
487 | + Called when the search type is changed. | |
488 | + */ | |
489 | + this.OnSearchTypeChange = function() | |
490 | + { | |
491 | + var searchValue = this.DOMSearchField().value.replace(/ +/g, ""); | |
492 | + | |
493 | + if (searchValue != "") | |
494 | + { | |
495 | + this.Search(); | |
496 | + }; | |
497 | + }; | |
498 | + | |
499 | + | |
500 | + | |
501 | + // Group: Action Functions | |
502 | + // ________________________________________________________________________ | |
503 | + | |
504 | + | |
505 | + /* | |
506 | + Function: CloseResultsWindow | |
507 | + Closes the results window. | |
508 | + */ | |
509 | + this.CloseResultsWindow = function() | |
510 | + { | |
511 | + this.DOMPopupSearchResultsWindow().style.display = "none"; | |
512 | + this.Activate(false, true); | |
513 | + }; | |
514 | + | |
515 | + | |
516 | + /* | |
517 | + Function: Search | |
518 | + Performs a search. | |
519 | + */ | |
520 | + this.Search = function() | |
521 | + { | |
522 | + this.keyTimeout = 0; | |
523 | + | |
524 | + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); | |
525 | + var searchTopic = this.DOMSearchType().value; | |
526 | + | |
527 | + var pageExtension = searchValue.substr(0,1); | |
528 | + | |
529 | + if (pageExtension.match(/^[a-z]/i)) | |
530 | + { pageExtension = pageExtension.toUpperCase(); } | |
531 | + else if (pageExtension.match(/^[0-9]/)) | |
532 | + { pageExtension = 'Numbers'; } | |
533 | + else | |
534 | + { pageExtension = "Symbols"; }; | |
535 | + | |
536 | + var resultsPage; | |
537 | + var resultsPageWithSearch; | |
538 | + var hasResultsPage; | |
539 | + | |
540 | + // indexSectionsWithContent is defined in searchdata.js | |
541 | + if (indexSectionsWithContent[searchTopic][pageExtension] == true) | |
542 | + { | |
543 | + resultsPage = this.resultsPath + '/' + searchTopic + pageExtension + '.html'; | |
544 | + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); | |
545 | + hasResultsPage = true; | |
546 | + } | |
547 | + else | |
548 | + { | |
549 | + resultsPage = this.resultsPath + '/NoResults.html'; | |
550 | + resultsPageWithSearch = resultsPage; | |
551 | + hasResultsPage = false; | |
552 | + }; | |
553 | + | |
554 | + var resultsFrame; | |
555 | + if (this.mode == "HTML") | |
556 | + { resultsFrame = window.frames.MSearchResults; } | |
557 | + else if (this.mode == "FramedHTML") | |
558 | + { resultsFrame = window.top.frames['Content']; }; | |
559 | + | |
560 | + | |
561 | + if (resultsPage != this.lastResultsPage || | |
562 | + | |
563 | + // Bug in IE. If everything becomes hidden in a run, none of them will be able to be reshown in the next for some | |
564 | + // reason. It counts the right number of results, and you can even read the display as "block" after setting it, but it | |
565 | + // just doesn't work in IE 6 or IE 7. So if we're on the right page but the previous search had no results, reload the | |
566 | + // page anyway to get around the bug. | |
567 | + (browserType == "IE" && hasResultsPage && | |
568 | + (!resultsFrame.searchResults || resultsFrame.searchResults.lastMatchCount == 0)) ) | |
569 | + | |
570 | + { | |
571 | + resultsFrame.location.href = resultsPageWithSearch; | |
572 | + } | |
573 | + | |
574 | + // So if the results page is right and there's no IE bug, reperform the search on the existing page. We have to check if there | |
575 | + // are results because NoResults.html doesn't have any JavaScript, and it would be useless to do anything on that page even | |
576 | + // if it did. | |
577 | + else if (hasResultsPage) | |
578 | + { | |
579 | + // We need to check if this exists in case the frame is present but didn't finish loading. | |
580 | + if (resultsFrame.searchResults) | |
581 | + { resultsFrame.searchResults.Search(searchValue); } | |
582 | + | |
583 | + // Otherwise just reload instead of waiting. | |
584 | + else | |
585 | + { resultsFrame.location.href = resultsPageWithSearch; }; | |
586 | + }; | |
587 | + | |
588 | + | |
589 | + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); | |
590 | + | |
591 | + if (this.mode == "HTML" && domPopupSearchResultsWindow.style.display != "block") | |
592 | + { | |
593 | + var domSearchType = this.DOMSearchType(); | |
594 | + | |
595 | + var left = GetXPosition(domSearchType); | |
596 | + var top = GetYPosition(domSearchType) + domSearchType.offsetHeight; | |
597 | + | |
598 | + MoveToPosition(domPopupSearchResultsWindow, left, top); | |
599 | + domPopupSearchResultsWindow.style.display = 'block'; | |
600 | + }; | |
601 | + | |
602 | + | |
603 | + this.lastSearchValue = searchValue; | |
604 | + this.lastResultsPage = resultsPage; | |
605 | + }; | |
606 | + | |
607 | + | |
608 | + | |
609 | + // Group: Activation Functions | |
610 | + // Functions that handle whether the entire panel is active or not. | |
611 | + // ________________________________________________________________________ | |
612 | + | |
613 | + | |
614 | + /* | |
615 | + Function: Activate | |
616 | + | |
617 | + Activates or deactivates the search panel, resetting things to their default values if necessary. You can call this on every | |
618 | + control's OnBlur() and it will handle not deactivating the entire panel when focus is just switching between them transparently. | |
619 | + | |
620 | + Parameters: | |
621 | + | |
622 | + isActive - Whether you're activating or deactivating the panel. | |
623 | + ignoreDeactivateDelay - Set if you're positive the action will deactivate the panel and thus want to skip the delay. | |
624 | + */ | |
625 | + this.Activate = function(isActive, ignoreDeactivateDelay) | |
626 | + { | |
627 | + // We want to ignore isActive being false while the results window is open. | |
628 | + if (isActive || (this.mode == "HTML" && this.DOMPopupSearchResultsWindow().style.display == "block")) | |
629 | + { | |
630 | + if (this.inactivateTimeout) | |
631 | + { | |
632 | + clearTimeout(this.inactivateTimeout); | |
633 | + this.inactivateTimeout = 0; | |
634 | + }; | |
635 | + | |
636 | + this.DOMSearchPanel().className = 'MSearchPanelActive'; | |
637 | + | |
638 | + var searchField = this.DOMSearchField(); | |
639 | + | |
640 | + if (searchField.value == 'Search') | |
641 | + { searchField.value = ""; } | |
642 | + } | |
643 | + else if (!ignoreDeactivateDelay) | |
644 | + { | |
645 | + this.inactivateTimeout = setTimeout(this.name + ".InactivateAfterTimeout()", this.inactivateTimeoutLength); | |
646 | + } | |
647 | + else | |
648 | + { | |
649 | + this.InactivateAfterTimeout(); | |
650 | + }; | |
651 | + }; | |
652 | + | |
653 | + | |
654 | + /* | |
655 | + Function: InactivateAfterTimeout | |
656 | + | |
657 | + Called by <inactivateTimeout>, which is set by <Activate()>. Inactivation occurs on a timeout because a control may | |
658 | + receive OnBlur() when focus is really transferring to another control in the search panel. In this case we don't want to | |
659 | + actually deactivate the panel because not only would that cause a visible flicker but it could also reset the search value. | |
660 | + So by doing it on a timeout instead, there's a short period where the second control's OnFocus() can cancel the deactivation. | |
661 | + */ | |
662 | + this.InactivateAfterTimeout = function() | |
663 | + { | |
664 | + this.inactivateTimeout = 0; | |
665 | + | |
666 | + this.DOMSearchPanel().className = 'MSearchPanelInactive'; | |
667 | + this.DOMSearchField().value = "Search"; | |
668 | + | |
669 | + this.lastSearchValue = ""; | |
670 | + this.lastResultsPage = ""; | |
671 | + }; | |
672 | + }; | |
673 | + | |
674 | + | |
675 | + | |
676 | + | |
677 | +/* ________________________________________________________________________________________________________ | |
678 | + | |
679 | + Class: SearchResults | |
680 | + _________________________________________________________________________________________________________ | |
681 | + | |
682 | + The class that handles everything on the search results page. | |
683 | + _________________________________________________________________________________________________________ | |
684 | +*/ | |
685 | + | |
686 | + | |
687 | +function SearchResults(name, mode) | |
688 | + { | |
689 | + /* | |
690 | + var: mode | |
691 | + The mode the search is going to work in, such as "HTML" or "FramedHTML". | |
692 | + */ | |
693 | + this.mode = mode; | |
694 | + | |
695 | + /* | |
696 | + var: lastMatchCount | |
697 | + The number of matches from the last run of <Search()>. | |
698 | + */ | |
699 | + this.lastMatchCount = 0; | |
700 | + | |
701 | + | |
702 | + /* | |
703 | + Function: Toggle | |
704 | + Toggles the visibility of the passed element ID. | |
705 | + */ | |
706 | + this.Toggle = function(id) | |
707 | + { | |
708 | + if (this.mode == "FramedHTML") | |
709 | + { return; }; | |
710 | + | |
711 | + var parentElement = document.getElementById(id); | |
712 | + | |
713 | + var element = parentElement.firstChild; | |
714 | + | |
715 | + while (element && element != parentElement) | |
716 | + { | |
717 | + if (element.nodeName == 'DIV' && element.className == 'ISubIndex') | |
718 | + { | |
719 | + if (element.style.display == 'block') | |
720 | + { element.style.display = "none"; } | |
721 | + else | |
722 | + { element.style.display = 'block'; } | |
723 | + }; | |
724 | + | |
725 | + if (element.nodeName == 'DIV' && element.hasChildNodes()) | |
726 | + { element = element.firstChild; } | |
727 | + else if (element.nextSibling) | |
728 | + { element = element.nextSibling; } | |
729 | + else | |
730 | + { | |
731 | + do | |
732 | + { | |
733 | + element = element.parentNode; | |
734 | + } | |
735 | + while (element && element != parentElement && !element.nextSibling); | |
736 | + | |
737 | + if (element && element != parentElement) | |
738 | + { element = element.nextSibling; }; | |
739 | + }; | |
740 | + }; | |
741 | + }; | |
742 | + | |
743 | + | |
744 | + /* | |
745 | + Function: Search | |
746 | + | |
747 | + Searches for the passed string. If there is no parameter, it takes it from the URL query. | |
748 | + | |
749 | + Always returns true, since other documents may try to call it and that may or may not be possible. | |
750 | + */ | |
751 | + this.Search = function(search) | |
752 | + { | |
753 | + if (!search) | |
754 | + { | |
755 | + search = window.location.search; | |
756 | + search = search.substring(1); // Remove the leading ? | |
757 | + search = unescape(search); | |
758 | + }; | |
759 | + | |
760 | + search = search.replace(/^ +/, ""); | |
761 | + search = search.replace(/ +$/, ""); | |
762 | + search = search.toLowerCase(); | |
763 | + | |
764 | + if (search.match(/[^a-z0-9]/)) // Just a little speedup so it doesn't have to go through the below unnecessarily. | |
765 | + { | |
766 | + search = search.replace(/\_/g, "_und"); | |
767 | + search = search.replace(/\ +/gi, "_spc"); | |
768 | + search = search.replace(/\~/g, "_til"); | |
769 | + search = search.replace(/\!/g, "_exc"); | |
770 | + search = search.replace(/\@/g, "_att"); | |
771 | + search = search.replace(/\#/g, "_num"); | |
772 | + search = search.replace(/\$/g, "_dol"); | |
773 | + search = search.replace(/\%/g, "_pct"); | |
774 | + search = search.replace(/\^/g, "_car"); | |
775 | + search = search.replace(/\&/g, "_amp"); | |
776 | + search = search.replace(/\*/g, "_ast"); | |
777 | + search = search.replace(/\(/g, "_lpa"); | |
778 | + search = search.replace(/\)/g, "_rpa"); | |
779 | + search = search.replace(/\-/g, "_min"); | |
780 | + search = search.replace(/\+/g, "_plu"); | |
781 | + search = search.replace(/\=/g, "_equ"); | |
782 | + search = search.replace(/\{/g, "_lbc"); | |
783 | + search = search.replace(/\}/g, "_rbc"); | |
784 | + search = search.replace(/\[/g, "_lbk"); | |
785 | + search = search.replace(/\]/g, "_rbk"); | |
786 | + search = search.replace(/\:/g, "_col"); | |
787 | + search = search.replace(/\;/g, "_sco"); | |
788 | + search = search.replace(/\"/g, "_quo"); | |
789 | + search = search.replace(/\'/g, "_apo"); | |
790 | + search = search.replace(/\</g, "_lan"); | |
791 | + search = search.replace(/\>/g, "_ran"); | |
792 | + search = search.replace(/\,/g, "_com"); | |
793 | + search = search.replace(/\./g, "_per"); | |
794 | + search = search.replace(/\?/g, "_que"); | |
795 | + search = search.replace(/\//g, "_sla"); | |
796 | + search = search.replace(/[^a-z0-9\_]i/gi, "_zzz"); | |
797 | + }; | |
798 | + | |
799 | + var resultRows = document.getElementsByTagName("div"); | |
800 | + var matches = 0; | |
801 | + | |
802 | + var i = 0; | |
803 | + while (i < resultRows.length) | |
804 | + { | |
805 | + var row = resultRows.item(i); | |
806 | + | |
807 | + if (row.className == "SRResult") | |
808 | + { | |
809 | + var rowMatchName = row.id.toLowerCase(); | |
810 | + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); | |
811 | + | |
812 | + if (search.length <= rowMatchName.length && rowMatchName.substr(0, search.length) == search) | |
813 | + { | |
814 | + row.style.display = "block"; | |
815 | + matches++; | |
816 | + } | |
817 | + else | |
818 | + { row.style.display = "none"; }; | |
819 | + }; | |
820 | + | |
821 | + i++; | |
822 | + }; | |
823 | + | |
824 | + document.getElementById("Searching").style.display="none"; | |
825 | + | |
826 | + if (matches == 0) | |
827 | + { document.getElementById("NoMatches").style.display="block"; } | |
828 | + else | |
829 | + { document.getElementById("NoMatches").style.display="none"; } | |
830 | + | |
831 | + this.lastMatchCount = matches; | |
832 | + | |
833 | + return true; | |
834 | + }; | |
835 | + }; | |
836 | + | ... | ... |
public/javascripts/strophejs-1.0.1/doc/javascript/searchdata.js
0 → 100644
... | ... | @@ -0,0 +1,152 @@ |
1 | +var indexSectionsWithContent = { | |
2 | + "General": { | |
3 | + "Symbols": true, | |
4 | + "Numbers": false, | |
5 | + "A": true, | |
6 | + "B": true, | |
7 | + "C": true, | |
8 | + "D": true, | |
9 | + "E": true, | |
10 | + "F": true, | |
11 | + "G": true, | |
12 | + "H": true, | |
13 | + "I": true, | |
14 | + "J": false, | |
15 | + "K": false, | |
16 | + "L": true, | |
17 | + "M": true, | |
18 | + "N": false, | |
19 | + "O": false, | |
20 | + "P": true, | |
21 | + "Q": false, | |
22 | + "R": true, | |
23 | + "S": true, | |
24 | + "T": true, | |
25 | + "U": true, | |
26 | + "V": true, | |
27 | + "W": true, | |
28 | + "X": true, | |
29 | + "Y": false, | |
30 | + "Z": false | |
31 | + }, | |
32 | + "Functions": { | |
33 | + "Symbols": true, | |
34 | + "Numbers": false, | |
35 | + "A": true, | |
36 | + "B": true, | |
37 | + "C": true, | |
38 | + "D": true, | |
39 | + "E": true, | |
40 | + "F": true, | |
41 | + "G": true, | |
42 | + "H": false, | |
43 | + "I": true, | |
44 | + "J": false, | |
45 | + "K": false, | |
46 | + "L": true, | |
47 | + "M": false, | |
48 | + "N": false, | |
49 | + "O": false, | |
50 | + "P": true, | |
51 | + "Q": false, | |
52 | + "R": true, | |
53 | + "S": true, | |
54 | + "T": true, | |
55 | + "U": true, | |
56 | + "V": false, | |
57 | + "W": true, | |
58 | + "X": true, | |
59 | + "Y": false, | |
60 | + "Z": false | |
61 | + }, | |
62 | + "Files": { | |
63 | + "Symbols": false, | |
64 | + "Numbers": false, | |
65 | + "A": false, | |
66 | + "B": false, | |
67 | + "C": false, | |
68 | + "D": false, | |
69 | + "E": false, | |
70 | + "F": false, | |
71 | + "G": false, | |
72 | + "H": false, | |
73 | + "I": false, | |
74 | + "J": false, | |
75 | + "K": false, | |
76 | + "L": false, | |
77 | + "M": false, | |
78 | + "N": false, | |
79 | + "O": false, | |
80 | + "P": false, | |
81 | + "Q": false, | |
82 | + "R": false, | |
83 | + "S": true, | |
84 | + "T": false, | |
85 | + "U": false, | |
86 | + "V": false, | |
87 | + "W": false, | |
88 | + "X": false, | |
89 | + "Y": false, | |
90 | + "Z": false | |
91 | + }, | |
92 | + "Constants": { | |
93 | + "Symbols": false, | |
94 | + "Numbers": false, | |
95 | + "A": true, | |
96 | + "B": true, | |
97 | + "C": true, | |
98 | + "D": true, | |
99 | + "E": true, | |
100 | + "F": true, | |
101 | + "G": false, | |
102 | + "H": true, | |
103 | + "I": true, | |
104 | + "J": false, | |
105 | + "K": false, | |
106 | + "L": true, | |
107 | + "M": true, | |
108 | + "N": false, | |
109 | + "O": false, | |
110 | + "P": true, | |
111 | + "Q": false, | |
112 | + "R": true, | |
113 | + "S": true, | |
114 | + "T": false, | |
115 | + "U": false, | |
116 | + "V": true, | |
117 | + "W": true, | |
118 | + "X": true, | |
119 | + "Y": false, | |
120 | + "Z": false | |
121 | + }, | |
122 | + "Classes": { | |
123 | + "Symbols": false, | |
124 | + "Numbers": false, | |
125 | + "A": false, | |
126 | + "B": false, | |
127 | + "C": false, | |
128 | + "D": false, | |
129 | + "E": false, | |
130 | + "F": false, | |
131 | + "G": false, | |
132 | + "H": false, | |
133 | + "I": false, | |
134 | + "J": false, | |
135 | + "K": false, | |
136 | + "L": false, | |
137 | + "M": false, | |
138 | + "N": false, | |
139 | + "O": false, | |
140 | + "P": false, | |
141 | + "Q": false, | |
142 | + "R": false, | |
143 | + "S": true, | |
144 | + "T": false, | |
145 | + "U": false, | |
146 | + "V": false, | |
147 | + "W": false, | |
148 | + "X": false, | |
149 | + "Y": false, | |
150 | + "Z": false | |
151 | + } | |
152 | + } | |
0 | 153 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ClassesS.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Strophe><div class=IEntry><a href="../files/core-js.html#Strophe" target=_parent class=ISymbol>Strophe</a></div></div><div class=SRResult id=SR_Strophe_perBuilder><div class=IEntry><a href="../files/core-js.html#Strophe.Builder" target=_parent class=ISymbol>Strophe.<wbr>Builder</a></div></div><div class=SRResult id=SR_Strophe_perConnection><div class=IEntry><a href="../files/core-js.html#Strophe.Connection" target=_parent class=ISymbol>Strophe.<wbr>Connection</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsA.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_ATTACHED><div class=IEntry><a href="../files/core-js.html#Strophe.Status.ATTACHED" target=_parent class=ISymbol>ATTACHED</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_AUTH><div class=IEntry><a href="../files/core-js.html#Strophe.NS.AUTH" target=_parent class=ISymbol>AUTH</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_AUTHENTICATING><div class=IEntry><a href="../files/core-js.html#Strophe.Status.AUTHENTICATING" target=_parent class=ISymbol>AUTHENTICATING</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_AUTHFAIL><div class=IEntry><a href="../files/core-js.html#Strophe.Status.AUTHFAIL" target=_parent class=ISymbol>AUTHFAIL</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsB.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_BIND><div class=IEntry><a href="../files/core-js.html#Strophe.NS.BIND" target=_parent class=ISymbol>BIND</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_BOSH><div class=IEntry><a href="../files/core-js.html#Strophe.NS.BOSH" target=_parent class=ISymbol>BOSH</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsC.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_CLIENT><div class=IEntry><a href="../files/core-js.html#Strophe.NS.CLIENT" target=_parent class=ISymbol>CLIENT</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_CONNECTED><div class=IEntry><a href="../files/core-js.html#Strophe.Status.CONNECTED" target=_parent class=ISymbol>CONNECTED</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_CONNECTING><div class=IEntry><a href="../files/core-js.html#Strophe.Status.CONNECTING" target=_parent class=ISymbol>CONNECTING</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_Connection_spcStatus_spcConstants><div class=IEntry><a href="../files/core-js.html#Strophe.Connection_Status_Constants" target=_parent class=ISymbol>Connection Status Constants</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_CONNFAIL><div class=IEntry><a href="../files/core-js.html#Strophe.Status.CONNFAIL" target=_parent class=ISymbol>CONNFAIL</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsD.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_DEBUG><div class=IEntry><a href="../files/core-js.html#Strophe.LogLevel.DEBUG" target=_parent class=ISymbol>DEBUG</a>, <span class=IParent>Strophe.<wbr>LogLevel</span></div></div><div class=SRResult id=SR_DISCO_undINFO><div class=IEntry><a href="../files/core-js.html#Strophe.NS.DISCO_INFO" target=_parent class=ISymbol>DISCO_INFO</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_DISCO_undITEMS><div class=IEntry><a href="../files/core-js.html#Strophe.NS.DISCO_ITEMS" target=_parent class=ISymbol>DISCO_ITEMS</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_DISCONNECTED><div class=IEntry><a href="../files/core-js.html#Strophe.Status.DISCONNECTED" target=_parent class=ISymbol>DISCONNECTED</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_DISCONNECTING><div class=IEntry><a href="../files/core-js.html#Strophe.Status.DISCONNECTING" target=_parent class=ISymbol>DISCONNECTING</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsE.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_ERROR><div class=IEntry><a href="javascript:searchResults.Toggle('SR_ERROR')" class=ISymbol>ERROR</a><div class=ISubIndex><a href="../files/core-js.html#Strophe.LogLevel.ERROR" target=_parent class=IParent>Strophe.<wbr>LogLevel</a><a href="../files/core-js.html#Strophe.Status.ERROR" target=_parent class=IParent>Strophe.<wbr>Status</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsF.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_FATAL><div class=IEntry><a href="../files/core-js.html#Strophe.LogLevel.FATAL" target=_parent class=ISymbol>FATAL</a>, <span class=IParent>Strophe.<wbr>LogLevel</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsH.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_HTTPBIND><div class=IEntry><a href="../files/core-js.html#Strophe.NS.HTTPBIND" target=_parent class=ISymbol>HTTPBIND</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsI.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_INFO><div class=IEntry><a href="../files/core-js.html#Strophe.LogLevel.INFO" target=_parent class=ISymbol>INFO</a>, <span class=IParent>Strophe.<wbr>LogLevel</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsL.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Log_spcLevel_spcConstants><div class=IEntry><a href="../files/core-js.html#Strophe.Log_Level_Constants" target=_parent class=ISymbol>Log Level Constants</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsM.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_MUC><div class=IEntry><a href="../files/core-js.html#Strophe.NS.MUC" target=_parent class=ISymbol>MUC</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsP.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_PROFILE><div class=IEntry><a href="../files/core-js.html#Strophe.NS.PROFILE" target=_parent class=ISymbol>PROFILE</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsR.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_ROSTER><div class=IEntry><a href="../files/core-js.html#Strophe.NS.ROSTER" target=_parent class=ISymbol>ROSTER</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsS.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_SASL><div class=IEntry><a href="../files/core-js.html#Strophe.NS.SASL" target=_parent class=ISymbol>SASL</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_SESSION><div class=IEntry><a href="../files/core-js.html#Strophe.NS.SESSION" target=_parent class=ISymbol>SESSION</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_STREAM><div class=IEntry><a href="../files/core-js.html#Strophe.NS.STREAM" target=_parent class=ISymbol>STREAM</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsV.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_VERSION><div class=IEntry><a href="../files/core-js.html#Strophe.VERSION" target=_parent class=ISymbol>VERSION</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsW.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_WARN><div class=IEntry><a href="../files/core-js.html#Strophe.LogLevel.WARN" target=_parent class=ISymbol>WARN</a>, <span class=IParent>Strophe.<wbr>LogLevel</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/ConstantsX.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_XMPP_spcNamespace_spcConstants><div class=IEntry><a href="../files/core-js.html#Strophe.XMPP_Namespace_Constants" target=_parent class=ISymbol>XMPP Namespace Constants</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FilesS.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_strophe_perjs><div class=IEntry><a href="../files/core-js.html#strophe.js" target=_parent class=ISymbol>strophe.js</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsA.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_addConnectionPlugin><div class=IEntry><a href="../files/core-js.html#Strophe.addConnectionPlugin" target=_parent class=ISymbol>addConnectionPlugin</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_addHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.addHandler" target=_parent class=ISymbol>addHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_addNamespace><div class=IEntry><a href="../files/core-js.html#Strophe.addNamespace" target=_parent class=ISymbol>addNamespace</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_addTimedHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.addTimedHandler" target=_parent class=ISymbol>addTimedHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_attach><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.attach" target=_parent class=ISymbol>attach</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_attrs><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.attrs" target=_parent class=ISymbol>attrs</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsB.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Builder><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.Strophe.Builder" target=_parent class=ISymbol>Builder</a>, <span class=IParent>Strophe.<wbr>Builder.<wbr>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsC.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_c><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.c" target=_parent class=ISymbol>c</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div><div class=SRResult id=SR_cnode><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.cnode" target=_parent class=ISymbol>cnode</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div><div class=SRResult id=SR_connect><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.connect" target=_parent class=ISymbol>connect</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_Connection><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.Strophe.Connection" target=_parent class=ISymbol>Connection</a>, <span class=IParent>Strophe.<wbr>Connection.<wbr>Strophe</span></div></div><div class=SRResult id=SR_copyElement><div class=IEntry><a href="../files/core-js.html#Strophe.copyElement" target=_parent class=ISymbol>copyElement</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsD.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_debug><div class=IEntry><a href="../files/core-js.html#Strophe.debug" target=_parent class=ISymbol>debug</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_deleteHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.deleteHandler" target=_parent class=ISymbol>deleteHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_deleteTimedHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.deleteTimedHandler" target=_parent class=ISymbol>deleteTimedHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_disconnect><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.disconnect" target=_parent class=ISymbol>disconnect</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsE.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_error><div class=IEntry><a href="../files/core-js.html#Strophe.error" target=_parent class=ISymbol>error</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_escapeNode><div class=IEntry><a href="../files/core-js.html#Strophe.escapeNode" target=_parent class=ISymbol>escapeNode</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsF.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_fatal><div class=IEntry><a href="../files/core-js.html#Strophe.fatal" target=_parent class=ISymbol>fatal</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_flush><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.flush" target=_parent class=ISymbol>flush</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_forEachChild><div class=IEntry><a href="../files/core-js.html#Strophe.forEachChild" target=_parent class=ISymbol>forEachChild</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsG.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getBareJidFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getBareJidFromJid" target=_parent class=ISymbol>getBareJidFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getDomainFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getDomainFromJid" target=_parent class=ISymbol>getDomainFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getNodeFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getNodeFromJid" target=_parent class=ISymbol>getNodeFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getResourceFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getResourceFromJid" target=_parent class=ISymbol>getResourceFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getText><div class=IEntry><a href="../files/core-js.html#Strophe.getText" target=_parent class=ISymbol>getText</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getUniqueId><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.getUniqueId" target=_parent class=ISymbol>getUniqueId</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsI.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_info><div class=IEntry><a href="../files/core-js.html#Strophe.info" target=_parent class=ISymbol>info</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_isTagEqual><div class=IEntry><a href="../files/core-js.html#Strophe.isTagEqual" target=_parent class=ISymbol>isTagEqual</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsL.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_log><div class=IEntry><a href="../files/core-js.html#Strophe.log" target=_parent class=ISymbol>log</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsP.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_pause><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.pause" target=_parent class=ISymbol>pause</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsR.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_rawInput><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.rawInput" target=_parent class=ISymbol>rawInput</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_rawOutput><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.rawOutput" target=_parent class=ISymbol>rawOutput</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_reset><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.reset" target=_parent class=ISymbol>reset</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_resume><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.resume" target=_parent class=ISymbol>resume</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsS.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_send><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.send" target=_parent class=ISymbol>send</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_sendIQ><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.sendIQ" target=_parent class=ISymbol>sendIQ</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_serialize><div class=IEntry><a href="../files/core-js.html#Strophe.serialize" target=_parent class=ISymbol>serialize</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsSymbols.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR__dolbuild><div class=IEntry><a href="../files/core-js.html#$build" target=_parent class=ISymbol>$build</a></div></div><div class=SRResult id=SR__doliq><div class=IEntry><a href="../files/core-js.html#$iq" target=_parent class=ISymbol>$iq</a></div></div><div class=SRResult id=SR__dolmsg><div class=IEntry><a href="../files/core-js.html#$msg" target=_parent class=ISymbol>$msg</a></div></div><div class=SRResult id=SR__dolpres><div class=IEntry><a href="../files/core-js.html#$pres" target=_parent class=ISymbol>$pres</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsT.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_t><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.t" target=_parent class=ISymbol>t</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div><div class=SRResult id=SR_toString><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.toString" target=_parent class=ISymbol>toString</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div><div class=SRResult id=SR_tree><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.tree" target=_parent class=ISymbol>tree</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsU.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_unescapeNode><div class=IEntry><a href="../files/core-js.html#Strophe.unescapeNode" target=_parent class=ISymbol>unescapeNode</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_up><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.up" target=_parent class=ISymbol>up</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsW.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_warn><div class=IEntry><a href="../files/core-js.html#Strophe.warn" target=_parent class=ISymbol>warn</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/FunctionsX.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_xmlElement><div class=IEntry><a href="../files/core-js.html#Strophe.xmlElement" target=_parent class=ISymbol>xmlElement</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_xmlescape><div class=IEntry><a href="../files/core-js.html#Strophe.xmlescape" target=_parent class=ISymbol>xmlescape</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_xmlInput><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.xmlInput" target=_parent class=ISymbol>xmlInput</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_xmlOutput><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.xmlOutput" target=_parent class=ISymbol>xmlOutput</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_xmlTextNode><div class=IEntry><a href="../files/core-js.html#Strophe.xmlTextNode" target=_parent class=ISymbol>xmlTextNode</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralA.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_addConnectionPlugin><div class=IEntry><a href="../files/core-js.html#Strophe.addConnectionPlugin" target=_parent class=ISymbol>addConnectionPlugin</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_addHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.addHandler" target=_parent class=ISymbol>addHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_addNamespace><div class=IEntry><a href="../files/core-js.html#Strophe.addNamespace" target=_parent class=ISymbol>addNamespace</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_addTimedHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.addTimedHandler" target=_parent class=ISymbol>addTimedHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_attach><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.attach" target=_parent class=ISymbol>attach</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_ATTACHED><div class=IEntry><a href="../files/core-js.html#Strophe.Status.ATTACHED" target=_parent class=ISymbol>ATTACHED</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_attrs><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.attrs" target=_parent class=ISymbol>attrs</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div><div class=SRResult id=SR_AUTH><div class=IEntry><a href="../files/core-js.html#Strophe.NS.AUTH" target=_parent class=ISymbol>AUTH</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_AUTHENTICATING><div class=IEntry><a href="../files/core-js.html#Strophe.Status.AUTHENTICATING" target=_parent class=ISymbol>AUTHENTICATING</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_AUTHFAIL><div class=IEntry><a href="../files/core-js.html#Strophe.Status.AUTHFAIL" target=_parent class=ISymbol>AUTHFAIL</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralB.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_BIND><div class=IEntry><a href="../files/core-js.html#Strophe.NS.BIND" target=_parent class=ISymbol>BIND</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_BOSH><div class=IEntry><a href="../files/core-js.html#Strophe.NS.BOSH" target=_parent class=ISymbol>BOSH</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_Builder><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.Strophe.Builder" target=_parent class=ISymbol>Builder</a>, <span class=IParent>Strophe.<wbr>Builder.<wbr>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralC.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_c><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.c" target=_parent class=ISymbol>c</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div><div class=SRResult id=SR_CLIENT><div class=IEntry><a href="../files/core-js.html#Strophe.NS.CLIENT" target=_parent class=ISymbol>CLIENT</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_cnode><div class=IEntry><a href="../files/core-js.html#Strophe.Builder.cnode" target=_parent class=ISymbol>cnode</a>, <span class=IParent>Strophe.<wbr>Builder</span></div></div><div class=SRResult id=SR_connect><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.connect" target=_parent class=ISymbol>connect</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_CONNECTED><div class=IEntry><a href="../files/core-js.html#Strophe.Status.CONNECTED" target=_parent class=ISymbol>CONNECTED</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_CONNECTING><div class=IEntry><a href="../files/core-js.html#Strophe.Status.CONNECTING" target=_parent class=ISymbol>CONNECTING</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_Connection><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.Strophe.Connection" target=_parent class=ISymbol>Connection</a>, <span class=IParent>Strophe.<wbr>Connection.<wbr>Strophe</span></div></div><div class=SRResult id=SR_Connection_spcStatus_spcConstants><div class=IEntry><a href="../files/core-js.html#Strophe.Connection_Status_Constants" target=_parent class=ISymbol>Connection Status Constants</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_CONNFAIL><div class=IEntry><a href="../files/core-js.html#Strophe.Status.CONNFAIL" target=_parent class=ISymbol>CONNFAIL</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_Constants><div class=IEntry><a href="../files/core-js.html#Strophe.Constants" target=_parent class=ISymbol>Constants</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_copyElement><div class=IEntry><a href="../files/core-js.html#Strophe.copyElement" target=_parent class=ISymbol>copyElement</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralD.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_debug><div class=IEntry><a href="../files/core-js.html#Strophe.debug" target=_parent class=ISymbol>debug</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR2_DEBUG><div class=IEntry><a href="../files/core-js.html#Strophe.LogLevel.DEBUG" target=_parent class=ISymbol>DEBUG</a>, <span class=IParent>Strophe.<wbr>LogLevel</span></div></div><div class=SRResult id=SR_deleteHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.deleteHandler" target=_parent class=ISymbol>deleteHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_deleteTimedHandler><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.deleteTimedHandler" target=_parent class=ISymbol>deleteTimedHandler</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_DISCO_undINFO><div class=IEntry><a href="../files/core-js.html#Strophe.NS.DISCO_INFO" target=_parent class=ISymbol>DISCO_INFO</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_DISCO_undITEMS><div class=IEntry><a href="../files/core-js.html#Strophe.NS.DISCO_ITEMS" target=_parent class=ISymbol>DISCO_ITEMS</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_disconnect><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.disconnect" target=_parent class=ISymbol>disconnect</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_DISCONNECTED><div class=IEntry><a href="../files/core-js.html#Strophe.Status.DISCONNECTED" target=_parent class=ISymbol>DISCONNECTED</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div><div class=SRResult id=SR_DISCONNECTING><div class=IEntry><a href="../files/core-js.html#Strophe.Status.DISCONNECTING" target=_parent class=ISymbol>DISCONNECTING</a>, <span class=IParent>Strophe.<wbr>Status</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralE.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_error><div class=IEntry><a href="../files/core-js.html#Strophe.error" target=_parent class=ISymbol>error</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR2_ERROR><div class=IEntry><a href="javascript:searchResults.Toggle('SR2_ERROR')" class=ISymbol>ERROR</a><div class=ISubIndex><a href="../files/core-js.html#Strophe.LogLevel.ERROR" target=_parent class=IParent>Strophe.<wbr>LogLevel</a><a href="../files/core-js.html#Strophe.Status.ERROR" target=_parent class=IParent>Strophe.<wbr>Status</a></div></div></div><div class=SRResult id=SR_escapeNode><div class=IEntry><a href="../files/core-js.html#Strophe.escapeNode" target=_parent class=ISymbol>escapeNode</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralF.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_fatal><div class=IEntry><a href="../files/core-js.html#Strophe.fatal" target=_parent class=ISymbol>fatal</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR2_FATAL><div class=IEntry><a href="../files/core-js.html#Strophe.LogLevel.FATAL" target=_parent class=ISymbol>FATAL</a>, <span class=IParent>Strophe.<wbr>LogLevel</span></div></div><div class=SRResult id=SR_flush><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.flush" target=_parent class=ISymbol>flush</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_forEachChild><div class=IEntry><a href="../files/core-js.html#Strophe.forEachChild" target=_parent class=ISymbol>forEachChild</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_Functions><div class=IEntry><a href="javascript:searchResults.Toggle('SR_Functions')" class=ISymbol>Functions</a><div class=ISubIndex><a href="../files/core-js.html#Functions" target=_parent class=IParent>Global</a><a href="../files/core-js.html#Strophe.Functions" target=_parent class=IParent>Strophe</a><a href="../files/core-js.html#Strophe.Builder.Functions" target=_parent class=IParent>Strophe.<wbr>Builder</a><a href="../files/core-js.html#Strophe.Connection.Functions" target=_parent class=IParent>Strophe.<wbr>Connection</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralG.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getBareJidFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getBareJidFromJid" target=_parent class=ISymbol>getBareJidFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getDomainFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getDomainFromJid" target=_parent class=ISymbol>getDomainFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getNodeFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getNodeFromJid" target=_parent class=ISymbol>getNodeFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getResourceFromJid><div class=IEntry><a href="../files/core-js.html#Strophe.getResourceFromJid" target=_parent class=ISymbol>getResourceFromJid</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getText><div class=IEntry><a href="../files/core-js.html#Strophe.getText" target=_parent class=ISymbol>getText</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_getUniqueId><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.getUniqueId" target=_parent class=ISymbol>getUniqueId</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralH.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_HTTPBIND><div class=IEntry><a href="../files/core-js.html#Strophe.NS.HTTPBIND" target=_parent class=ISymbol>HTTPBIND</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralI.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_info><div class=IEntry><a href="../files/core-js.html#Strophe.info" target=_parent class=ISymbol>info</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR2_INFO><div class=IEntry><a href="../files/core-js.html#Strophe.LogLevel.INFO" target=_parent class=ISymbol>INFO</a>, <span class=IParent>Strophe.<wbr>LogLevel</span></div></div><div class=SRResult id=SR_isTagEqual><div class=IEntry><a href="../files/core-js.html#Strophe.isTagEqual" target=_parent class=ISymbol>isTagEqual</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralL.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_log><div class=IEntry><a href="../files/core-js.html#Strophe.log" target=_parent class=ISymbol>log</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_Log_spcLevel_spcConstants><div class=IEntry><a href="../files/core-js.html#Strophe.Log_Level_Constants" target=_parent class=ISymbol>Log Level Constants</a>, <span class=IParent>Strophe</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralM.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_MUC><div class=IEntry><a href="../files/core-js.html#Strophe.NS.MUC" target=_parent class=ISymbol>MUC</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralP.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_pause><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.pause" target=_parent class=ISymbol>pause</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_PROFILE><div class=IEntry><a href="../files/core-js.html#Strophe.NS.PROFILE" target=_parent class=ISymbol>PROFILE</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralR.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_rawInput><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.rawInput" target=_parent class=ISymbol>rawInput</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_rawOutput><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.rawOutput" target=_parent class=ISymbol>rawOutput</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_reset><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.reset" target=_parent class=ISymbol>reset</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_resume><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.resume" target=_parent class=ISymbol>resume</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_ROSTER><div class=IEntry><a href="../files/core-js.html#Strophe.NS.ROSTER" target=_parent class=ISymbol>ROSTER</a>, <span class=IParent>Strophe.NS</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/strophejs-1.0.1/doc/search/GeneralS.html
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
2 | + | |
3 | +<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!-- | |
4 | +if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> | |
5 | + | |
6 | +<!-- Generated by Natural Docs, version 1.4 --> | |
7 | +<!-- http://www.naturaldocs.org --> | |
8 | + | |
9 | +<!-- saved from url=(0026)http://www.naturaldocs.org --> | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_SASL><div class=IEntry><a href="../files/core-js.html#Strophe.NS.SASL" target=_parent class=ISymbol>SASL</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_send><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.send" target=_parent class=ISymbol>send</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_sendIQ><div class=IEntry><a href="../files/core-js.html#Strophe.Connection.sendIQ" target=_parent class=ISymbol>sendIQ</a>, <span class=IParent>Strophe.<wbr>Connection</span></div></div><div class=SRResult id=SR_serialize><div class=IEntry><a href="../files/core-js.html#Strophe.serialize" target=_parent class=ISymbol>serialize</a>, <span class=IParent>Strophe</span></div></div><div class=SRResult id=SR_SESSION><div class=IEntry><a href="../files/core-js.html#Strophe.NS.SESSION" target=_parent class=ISymbol>SESSION</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_STREAM><div class=IEntry><a href="../files/core-js.html#Strophe.NS.STREAM" target=_parent class=ISymbol>STREAM</a>, <span class=IParent>Strophe.NS</span></div></div><div class=SRResult id=SR_Strophe><div class=IEntry><a href="../files/core-js.html#Strophe" target=_parent class=ISymbol>Strophe</a></div></div><div class=SRResult id=SR_Strophe_perBuilder><div class=IEntry><a href="../files/core-js.html#Strophe.Builder" target=_parent class=ISymbol>Strophe.<wbr>Builder</a></div></div><div class=SRResult id=SR_Strophe_perConnection><div class=IEntry><a href="../files/core-js.html#Strophe.Connection" target=_parent class=ISymbol>Strophe.<wbr>Connection</a></div></div><div class=SRResult id=SR_strophe_perjs><div class=IEntry><a href="../files/core-js.html#strophe.js" target=_parent class=ISymbol>strophe.js</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!-- | |
15 | +document.getElementById("Loading").style.display="none"; | |
16 | +document.getElementById("NoMatches").style.display="none"; | |
17 | +var searchResults = new SearchResults("searchResults", "HTML"); | |
18 | +searchResults.Search(); | |
19 | +--></script></div><script language=JavaScript><!-- | |
20 | +if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> | |
0 | 21 | \ No newline at end of file | ... | ... |