Fixed vt100.jspp so that it can be used without shell_in_a_box.jspp. This

broke demo.jspp.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@135 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
zodiac 2009-07-04 08:31:39 +00:00
parent 19177de98c
commit 9713e1d58c
7 changed files with 9 additions and 9 deletions

View file

@ -132,7 +132,7 @@
#define STDC_HEADERS 1 #define STDC_HEADERS 1
/* Most recent revision number in the version control system */ /* Most recent revision number in the version control system */
#define VCS_REVISION "134" #define VCS_REVISION "135"
/* Version number of package */ /* Version number of package */
#define VERSION "2.8" #define VERSION "2.8"

2
configure vendored
View file

@ -2037,7 +2037,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
VCS_REVISION=134 VCS_REVISION=135
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF

View file

@ -2,7 +2,7 @@ AC_PREREQ(2.57)
dnl This is the one location where the authoritative version number is stored dnl This is the one location where the authoritative version number is stored
AC_INIT(shellinabox, 2.8, markus@shellinabox.com) AC_INIT(shellinabox, 2.8, markus@shellinabox.com)
VCS_REVISION=134 VCS_REVISION=135
AC_SUBST(VCS_REVISION) AC_SUBST(VCS_REVISION)
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}", AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
[Most recent revision number in the version control system]) [Most recent revision number in the version control system])

View file

@ -96,7 +96,7 @@
// #define MOUSE_CLICK 2 // #define MOUSE_CLICK 2
function VT100(container) { function VT100(container) {
if (typeof linkifyURLs == 'undefined' && linkifyURLs > 0) { if (typeof linkifyURLs == 'undefined' || linkifyURLs <= 0) {
this.urlRE = null; this.urlRE = null;
} else { } else {
this.urlRE = new RegExp( this.urlRE = new RegExp(
@ -1636,7 +1636,7 @@ VT100.prototype.toggleBell = function() {
}; };
VT100.prototype.about = function() { VT100.prototype.about = function() {
alert("VT100 Terminal Emulator " + "2.8 (revision 134)" + alert("VT100 Terminal Emulator " + "2.8 (revision 135)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" + "\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com"); "For more information check http://shellinabox.com");
}; };

View file

@ -355,7 +355,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) {
}; };
ShellInABox.prototype.about = function() { ShellInABox.prototype.about = function() {
alert("Shell In A Box version " + "2.8 (revision 134)" + alert("Shell In A Box version " + "2.8 (revision 135)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" + "\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com" + "For more information check http://shellinabox.com" +
(typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ? (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?

View file

@ -96,7 +96,7 @@
// #define MOUSE_CLICK 2 // #define MOUSE_CLICK 2
function VT100(container) { function VT100(container) {
if (typeof linkifyURLs == 'undefined' && linkifyURLs > 0) { if (typeof linkifyURLs == 'undefined' || linkifyURLs <= 0) {
this.urlRE = null; this.urlRE = null;
} else { } else {
this.urlRE = new RegExp( this.urlRE = new RegExp(
@ -1636,7 +1636,7 @@ VT100.prototype.toggleBell = function() {
}; };
VT100.prototype.about = function() { VT100.prototype.about = function() {
alert("VT100 Terminal Emulator " + "2.8 (revision 134)" + alert("VT100 Terminal Emulator " + "2.8 (revision 135)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" + "\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com"); "For more information check http://shellinabox.com");
}; };

View file

@ -96,7 +96,7 @@
#define MOUSE_CLICK 2 #define MOUSE_CLICK 2
function VT100(container) { function VT100(container) {
if (typeof linkifyURLs == 'undefined' && linkifyURLs > 0) { if (typeof linkifyURLs == 'undefined' || linkifyURLs <= 0) {
this.urlRE = null; this.urlRE = null;
} else { } else {
this.urlRE = new RegExp( this.urlRE = new RegExp(