]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/utils/validate.js
WordPress 4.7-scripts
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / utils / validate.js
index 760d0290fd944b435a9c22ffe8e4fb5cc1048a8c..bfdbc787a5ecffb1f5aab0cfada4401e9bd7d12f 100644 (file)
@@ -1,11 +1,11 @@
 /**
  * validate.js
  *
- * Copyright 2009, Moxiecode Systems AB
  * Released under LGPL License.
+ * Copyright (c) 1999-2015 Ephox Corp. All rights reserved
  *
- * License: http://tinymce.moxiecode.com/license
- * Contributing: http://tinymce.moxiecode.com/contributing
+ * License: http://www.tinymce.com/license
+ * Contributing: http://www.tinymce.com/contributing
  */
 
 /**
@@ -111,7 +111,7 @@ var AutoValidator = {
        invalidate : function(n) {
                this.mark(n.form, n);
        },
-       
+
        getErrorMessages : function(f) {
                var nl, i, s = this.settings, field, msg, values, messages = [], ed = tinyMCEPopup.editor;
                nl = this.tags(f, "label");
@@ -129,7 +129,7 @@ var AutoValidator = {
                                } else {
                                        message = ed.getLang('invalid_data');
                                }
-                               
+
                                message = message.replace(/{\#([^}]+)\}/g, function(a, b) {
                                        return values[b] || '{#' + b + '}';
                                });