can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r22001: LJSUP-12148: JSON-RPC

Committer: dpetrov
LJSUP-12148: JSON-RPC
U   trunk/htdocs/js/basic.js
Modified: trunk/htdocs/js/basic.js
===================================================================
--- trunk/htdocs/js/basic.js	2012-05-18 13:46:36 UTC (rev 22000)
+++ trunk/htdocs/js/basic.js	2012-05-18 14:12:33 UTC (rev 22001)
@@ -337,7 +337,6 @@
 	//fillme
 };
 
-
 LJ.DOM = LJ.DOM || {};
 
 /**
@@ -459,6 +458,7 @@
 LJ.Support.geoLocation = 'geolocation' in navigator;
 //Incomplete implementation from modernizr
 LJ.Support.touch = ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch;
+LJ.Support.cors = window.XMLHttpRequest && 'withCredentials' in new XMLHttpRequest() || 'XDomainRequest' in window;
 
 
 /* object extensions */

Tags: can3p, dpetrov, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments