OSDN Git Service

preparation for 4.0 trunk: move whole scripts just under trunk directory
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / javascript / compatibility.js
diff --git a/utf8/nucleus/javascript/compatibility.js b/utf8/nucleus/javascript/compatibility.js
deleted file mode 100755 (executable)
index cea0680..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
-  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/) 
-  * Copyright (C) 2002-2011 The Nucleus Group
-  *
-  * This program 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 2
-  * of the License, or (at your option) any later version.
-  * (see nucleus/documentation/index.html#license for more info)
-  *
-  *    Javascript code to make sure that:
-  *  - javascript still works when sending pages as application/xhtml+xml
-  *  - this doesn't break functionality in IE
-  *
-  * How to use:
-  *            - Include this file
-  *            - Use createElement() instead of document.createElement()
-  *
-  * That's basically it :)
-  *
-  * $Id$
-  * $NucleusJP: compatibility.js,v 1.4 2006/07/12 07:11:47 kimitake Exp $
-  */
-
-// to get the script working when page is sent as application/xhtml+xml
-function createElement(element) {
-  if (document.createElementNS) {
-       return document.createElementNS('http://www.w3.org/1999/xhtml', element);
-  }
-  if (document.createElement) {
-       return document.createElement(element);
-  }
-  return false;
-}