Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed namespaces.js, using namespaces.jsm from xmpp4moz instead.

  • Loading branch information...
commit 71c76570ef0d946db9f48943fb906ea2e47b5a97 1 parent 788490b
@bard authored
View
1  chrome/content/conversations/conversations.xul
@@ -46,7 +46,6 @@
<script type="application/x-javascript;version=1.7" src="chrome://xmpp4moz/content/xmpp.js"/>
<script type="application/x-javascript;version=1.7" src="../lib/getElementsBySelector.js"/>
- <script type="application/x-javascript;version=1.7" src="../lib/namespaces.js"/>
<script type="application/x-javascript;version=1.7" src="../lib/tabbed_area.js"/>
<script type="application/x-javascript;version=1.7" src="conversations.js"/>
View
1  chrome/content/dialogs/join_room.js
@@ -40,6 +40,7 @@ const Cu = Components.utils;
var xmpp = xmpp || {};
xmpp.ui = xmpp.ui || {};
+Cu.import('resource://xmpp4moz/namespaces.jsm');
Cu.import('resource://sameplace/util.jsm');
View
1  chrome/content/dialogs/join_room.xul
@@ -45,7 +45,6 @@
flex="1">
<script type="application/x-javascript;version=1.7" src="chrome://xmpp4moz/content/xmpp.js"/>
- <script type="application/x-javascript;version=1.7" src="../lib/namespaces.js"/>
<script type="application/x-javascript;version=1.7" src="join_room.js"/>
<dialogheader id="header" title="&join_room.dialog.title;"/>
View
10 chrome/content/dialogs/remove_contacts.js
@@ -1,3 +1,13 @@
+
+// DEFINITIONS
+// ----------------------------------------------------------------------
+
+Cu.import('resource://xmpp4moz/namespaces.jsm');
+
+
+// INITIALIZATION
+// ----------------------------------------------------------------------
+
function init() {
var request = window.arguments[0];
View
54 chrome/content/lib/namespaces.js
@@ -1,54 +0,0 @@
-/*
- * Copyright 2006-2007 by Massimiliano Mirra
- *
- * This file is part of SamePlace.
- *
- * SamePlace is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 3 of the License, or (at your
- * option) any later version.
- *
- * SamePlace is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * The interactive user interfaces in modified source and object code
- * versions of this program must display Appropriate Legal Notices, as
- * required under Section 5 of the GNU General Public License version 3.
- *
- * In accordance with Section 7(b) of the GNU General Public License
- * version 3, modified versions must display the "Powered by SamePlace"
- * logo to users in a legible manner and the GPLv3 text must be made
- * available to them.
- *
- * Author: Massimiliano Mirra, <bard [at] hyperstruct [dot] net>
- *
- */
-
-
-// GLOBAL DEFINITIONS
-// ----------------------------------------------------------------------
-
-var ns_auth = 'jabber:iq:auth';
-var ns_xhtml = 'http://www.w3.org/1999/xhtml';
-var ns_xhtml_im = 'http://jabber.org/protocol/xhtml-im';
-var ns_muc_user = 'http://jabber.org/protocol/muc#user';
-var ns_muc = 'http://jabber.org/protocol/muc';
-var ns_register = 'jabber:iq:register';
-var ns_roster = 'jabber:iq:roster';
-var ns_delay = 'jabber:x:delay';
-var ns_xul = 'http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul';
-var ns_private = 'jabber:iq:private';
-var ns_bookmarks = 'storage:bookmarks';
-var ns_chatstates = 'http://jabber.org/protocol/chatstates';
-var ns_event = 'jabber:x:event';
-var ns_stanzas = 'urn:ietf:params:xml:ns:xmpp-stanzas';
-var ns_x4m_in = 'http://hyperstruct.net/xmpp4moz/protocol/internal';
-var ns_http_auth = 'http://jabber.org/protocol/http-auth';
-var ns_x4m_ext = 'http://hyperstruct.net/xmpp4moz/protocol/external';
-var ns_vcard = 'vcard-temp';
-var ns_vcard_update = 'vcard-temp:x:update';
Please sign in to comment.
Something went wrong with that request. Please try again.