Lines Matching refs:data

1176 		var data = {  class in AnonymousFunctione17f777e0200.syncBackground
1189 if( data.background ) {
1191 …if( /^(http|file|\/\/)/gi.test( data.background ) || /\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.te…
1192 slide.setAttribute( 'data-background-image', data.background );
1195 element.style.background = data.background;
1202 …if( data.background || data.backgroundColor || data.backgroundImage || data.backgroundVideo || dat…
1203 element.setAttribute( 'data-background-hash', data.background +
1204 data.backgroundSize +
1205 data.backgroundImage +
1206 data.backgroundVideo +
1207 data.backgroundIframe +
1208 data.backgroundColor +
1209 data.backgroundRepeat +
1210 data.backgroundPosition +
1211 data.backgroundTransition +
1212 data.backgroundOpacity );
1216 if( data.backgroundSize ) element.setAttribute( 'data-background-size', data.backgroundSize );
1217 if( data.backgroundColor ) element.style.backgroundColor = data.backgroundColor;
1218 …if( data.backgroundTransition ) element.setAttribute( 'data-background-transition', data.backgroun…
1223 if( data.backgroundSize ) contentElement.style.backgroundSize = data.backgroundSize;
1224 if( data.backgroundRepeat ) contentElement.style.backgroundRepeat = data.backgroundRepeat;
1225 if( data.backgroundPosition ) contentElement.style.backgroundPosition = data.backgroundPosition;
1226 if( data.backgroundOpacity ) contentElement.style.opacity = data.backgroundOpacity;
1231 var contrastColor = data.backgroundColor;
1273 var data = event.data;
1276 …if( typeof data === 'string' && data.charAt( 0 ) === '{' && data.charAt( data.length - 1 ) === '}'…
1277 data = JSON.parse( data );
1280 if( data.method && typeof Reveal[data.method] === 'function' ) {
1282 if( POST_MESSAGE_METHOD_BLACKLIST.test( data.method ) === false ) {
1284 var result = Reveal[data.method].apply( Reveal, data.args );
1288 dispatchPostMessage( 'callback', { method: data.method, result: result } );
1292 console.warn( 'reveal.js: "'+ data.method +'" is is blacklisted from the postMessage API' );
2006 function dispatchPostMessage( type, data ) { argument
2015 extend( message, data );