File tree Expand file tree Collapse file tree 4 files changed +363
-149
lines changed Expand file tree Collapse file tree 4 files changed +363
-149
lines changed Original file line number Diff line number Diff line change 66 var wapLocalCode = 'us-en' ; // Dynamically set per localized site, see mapping table for values
77 var wapSection = "scikit-learn" ; // WAP team will give you a unique section for your site
88 // Load TMS
9- ( function ( ) {
10- var url = 'https://www.intel.com/content/dam/www/global/wap/tms-loader.js' ; // WAP file URL
11- var po = document . createElement ( 'script' ) ; po . type = 'text/javascript' ; po . async = true ; po . src = url ;
12- var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( po , s ) ;
13- } ) ( ) ;
9+ if ( document . location . href . contains ( "intel.github.io/scikit-learn-intelex" ) ) {
10+ ( function ( ) {
11+ var url = 'https://www.intel.com/content/dam/www/global/wap/tms-loader.js' ; // WAP file URL
12+ var po = document . createElement ( 'script' ) ; po . type = 'text/javascript' ; po . async = true ; po . src = url ;
13+ var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( po , s ) ;
14+ } ) ( ) ;
15+ }
1416 </ script >
1517{% endblock %}
You can’t perform that action at this time.
0 commit comments