Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for javascript (0.06 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

       * This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of
       * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but
       * *J2CL* doesn't look at it.)
       *
       * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose
       * of @JsMethod is to make a method *callable* from JavaScript and (b) this method would not be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath(StringUtil.EMPTY, "css", names);
        }
    
        /**
         * Gets the path to JavaScript files directory.
         *
         * @param names the path components to append to the JavaScript directory
         * @return the Path object pointing to the JavaScript directory
         */
        public static Path getJavaScriptPath(final String... names) {
            return getPath(StringUtil.EMPTY, "js", names);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        public void test_execute_differentScriptTypes() {
            // Test different script types
            Object result = jobExecutor.execute("javascript", "console.log('test')");
            assertEquals("Executed: javascript console.log('test')", result);
    
            result = jobExecutor.execute("python", "print('test')");
            assertEquals("Executed: python print('test')", result);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/MediaType.java

       * <a href="http://www.rfc-editor.org/rfc/rfc4329.txt">RFC 4329</a> declares {@link
       * #JAVASCRIPT_UTF_8 application/javascript} to be the correct media type for JavaScript, but this
       * may be necessary in certain situations for compatibility.
       */
      public static final MediaType TEXT_JAVASCRIPT_UTF_8 = createConstantUtf8(TEXT_TYPE, "javascript");
    
      /**
       * <a href="http://www.iana.org/assignments/media-types/text/tab-separated-values">Tab separated
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          file.name.endsWith(".html") -> "text/html"
          file.name.endsWith(".jpeg") -> "image/jpeg"
          file.name.endsWith(".jpg") -> "image/jpeg"
          file.name.endsWith(".js") -> "application/javascript"
          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
    
      private fun Socket.peerName(): String {
        val address = remoteSocketAddress
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/MediaType.java

       * <a href="http://www.rfc-editor.org/rfc/rfc4329.txt">RFC 4329</a> declares {@link
       * #JAVASCRIPT_UTF_8 application/javascript} to be the correct media type for JavaScript, but this
       * may be necessary in certain situations for compatibility.
       */
      public static final MediaType TEXT_JAVASCRIPT_UTF_8 = createConstantUtf8(TEXT_TYPE, "javascript");
    
      /**
       * <a href="http://www.iana.org/assignments/media-types/text/tab-separated-values">Tab separated
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

     *
     * Each test is a line of the file `urltestdata.txt`. The format is informally specified by its
     * JavaScript parser `urltestparser.js` with which this class attempts to be compatible.
     *
     * Each line of the `urltestdata.txt` file specifies a test. Lines look like this:
     *
     * ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      private static void arrayCopy(Object[] dest, int pos, Object... source) {
        System.arraycopy(source, 0, dest, pos, source.length);
      }
    
      /** ImmutableList.of API that is friendly to use from JavaScript. */
      @JsMethod(name = "of")
      static <E> ImmutableList<E> jsOf(E... elements) {
        return copyOf(elements);
      }
    
      public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        /**
         * Sets whether the user identification cookie should be HTTP-only.
         *
         * @param httpOnly true if the cookie should be HTTP-only (not accessible via JavaScript), false otherwise
         */
        public void setCookieHttpOnly(final boolean httpOnly) {
            this.httpOnly = httpOnly;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                // CSS
                ZipEntry cssEntry = new ZipEntry("css/style.css");
                zos.putNextEntry(cssEntry);
                zos.write("body { }".getBytes());
                zos.closeEntry();
    
                // JavaScript
                ZipEntry jsEntry = new ZipEntry("js/script.js");
                zos.putNextEntry(jsEntry);
                zos.write("console.log('test');".getBytes());
                zos.closeEntry();
    
                // Images
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top