This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15619 - function incorporate_fragment(a){var c=/^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;var b='';a.href.replace(c,function(d,g,h,f){var e,i;e=i=g+(h?'?'+h:'');if(f){f=f.replace(/^(!|%21)/,'');if(f.charAt(0)=='/')e=f.replace(/^\/
Summary: function incorporate_fragment(a){var c=/^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]...
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 03:49 UTC by contributor
Modified: 2012-01-19 15:35 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-01-19 03:49:06 UTC
Specification: http://dev.w3.org/html5/spec/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
function incorporate_fragment(a){var
c=/^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;
var b='';a.href.replace(c,function(d,g,h,f){var
e,i;e=i=g+(h?'?'+h:'');if(f){f=f.replace(/^(!|%21)/,'');if(f.charAt(0)=='/')e=
f.replace(/^\/+/,'/');}if(e!=i){if(window._script_path)document.cookie="rdir="
+window._script_path+"; path=/;
domain="+window.location.hostname.replace(/^.*(\.facebook\..*)$/i,'$1');window
.location.replace(b+e);}});}if(window._incorporate_fragment)incorporate_fragme
nt(window.location);
window.__DEV__=window.__DEV__||0;if(!window.skipDomainLower&&document.domain.t
oLowerCase().match(/(^|\.)facebook\..*/))document.domain=window.location.hostn
ame.replace(/^.*(facebook\..*)$/i,'$1');function bagofholding(){}function
bagof(a){return function(){return a;};}if(!Date.now)Date.now=function
now(){return new
Date().getTime();};if(!Array.isArray)Array.isArray=function(a){return
Object.prototype.toString.call(a)=='[object
Array]';};Env=window.Env||{};Env.start=Env.start||Date.now();document.document
Element.className=document.documentElement.className.replace('no_js','');
window.require||(function(){var
z={},x={},o=0,y=this,j=1,m=2,k='special',d='exports',c='dependencies',h='modul
e',n='waiting',e='factory',l=undefined,b='define',f='global',i='require',g='re
quireLazy',a='context';function za(zj){var
zl=z[zj],ze,zi;if(zl[n]&&zl[k]&m)r();if(!zl[d]){var
zg=zl[d]={},zh=zl[e];if(Object.prototype.toString.call(zh)==='[object
Function]'){var
zd=[],zf=zl[c],zk=zf.length;if(zl[k]&m)zk=Math.min(zk,zh.length);for(zi=0;zi<z
k;zi++){ze=zf[zi];zd.push(ze===h?zl:(ze===d?zg:za(ze)));}var
zm=zh.apply(zl[a]||y,zd);if(zm)zl[d]=zm;}else zl[d]=zh;}return zl[d];}function
v(zh,zf,zg,ze,zd){if(zf===l){zf=[];zg=zh;zh=t();}else
if(zg===l){zg=zf;zf=zh;zh=t();}if(z[zh])return;var
zi={id:zh};zi[e]=zg;zi[c]=zf;zi[a]=zd;zi[k]=ze;z[zh]=zi;p(zh);}function
zb(ze,zf,zd){v(ze,zf,l,j,zd);}function r(){var ze={},zd;for(zd in
x)if(z[zd]&&!ze[zd]&&z[zd][k]&m)s({},zd,ze);}function s(zg,zd,zh){zh[zd]=1;var
zf=x[zd],ze;if(!zf)return;zg[zd]=1;for(ze in
zf){if(!z[ze][k]&m)continue;if(zg[ze]){delete
zf[ze];z[ze][n]--;if(!z[ze][n])u(ze);}else s(zg,ze,zh);}zg[zd]=0;}function
t(){return '__mod__'+o++;}function p(zf){var zg=z[zf];var zh=0;for(var
ze=0;ze<zg[c].length;ze++){var
zd=zg[c][ze];if(!z[zd]||z[zd][n]){x[zd]||(x[zd]={});x[zd][zf]=1;zh++;}}zg[n]=z
h;if(!zh)u(zf);}function u(ze){var zf=z[ze];if(zf[k]&j)za(ze);var
zg=x[ze];if(zg){delete x[ze];for(var zd in zg)if(!--z[zd][n])u(zd);}}function
q(ze,zd){z[ze]={id:ze};z[ze][d]=zd;}q(h,0);q(d,0);q(b,v);q(f,y);q(i,za);q(g,zb
);v.amd={};y[b]=v;y[i]=za;y[g]=zb;za.ensure=zb;var zc=false;var
w=function(zg,ze,zf,zd){v(zg,ze,zf,zd||m);if(z[zg][n]&&!zc)zc=setTimeout(funct
ion(){r();zc=false;},9);};y.__d=function(zg,ze,zf,zd){ze=[f,i,g,h,d].concat(ze
);w(zg,ze,zf,zd);};y.__e=function(zg,ze,zf,zd){ze=[f,i,h,d].concat(ze);w(zg,ze
,zf,zd);};})();

Posted from: 77.182.100.190
User agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7