dist/material-ui-pickers.umd.js
/**
   * Insert style element into the DOM.
   */
Insert style element into the DOM.
Insert style element into the DOM .
function insertStyle(style, options) {
    var insertionPoint = options.insertionPoint;
    var nextNode = findPrevNode(options);
    if (nextNode !== false && nextNode.parent) {
      nextNode.parent.insertBefore(style, nextNode.node);
      return;
    } 
    if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
      var insertionPointElement = insertionPoint;
      var parentNode = insertionPointElement.parentNode;
      if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else  warning(false, '[JSS] Insertion point is not in the DOM.') ;
      return;
    }
    getHead().appendChild(style);
  }
function insertStyle ( style , options ) { var insertionPoint = options . insertionPoint ; var nextNode = findPrevNode ( options ) ; if ( nextNode !== false && nextNode . parent ) { nextNode . parent . insertBefore ( style , nextNode . node ) ; return ; } if ( insertionPoint && typeof insertionPoint . nodeType === 'number' ) { var insertionPointElement = insertionPoint ; var parentNode = insertionPointElement . parentNode ; if ( parentNode ) parentNode . insertBefore ( style , insertionPointElement . nextSibling ) ; else warning ( false , '[JSS] Insertion point is not in the DOM.' ) ; return ; } getHead ( ) . appendChild ( style ) ; }
Insert style element into the DOM.
Insert style element into the DOM .
// Works with iframes and any node types. // https://stackoverflow.com/questions/41328728/force-casting-in-flow