[Pkg-javascript-commits] [sockjs-client] 306/434: Move utils object declaration up.
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository sockjs-client.
commit 09d115347c219d6ce519a03214fa2783001ac054
Author: Marek Majkowski <majek04 at gmail.com>
Date: Mon Jan 16 11:42:55 2012 +0000
Move utils object declaration up.
---
lib/index.js | 2 ++
lib/utils.js | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/index.js b/lib/index.js
index 560135d..0b824c0 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -2,6 +2,8 @@
SockJS = (function(){
var _document = document;
var _window = window;
+ var utils = {};
+
<!-- include lib/reventtarget.js -->
<!-- include lib/simpleevent.js -->
<!-- include lib/eventemitter.js -->
diff --git a/lib/utils.js b/lib/utils.js
index a6c6b2d..7e88083 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -1,4 +1,3 @@
-var utils = {};
var random_string_chars = 'abcdefghijklmnopqrstuvwxyz0123456789_';
utils.random_string = function(length, max) {
max = max || random_string_chars.length;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list