src/utilities.js
function defineDocumentStyles() {
  for (var i = 0; i < document.styleSheets.length; i++) {
    var mysheet = document.styleSheets[i],
      myrules = mysheet.cssRules ? mysheet.cssRules : mysheet.rules;
    config.documentStyles.push(myrules);
  }
}
function defineDocumentStyles() {
  for (var i = 0; i < document.styleSheets.length; i++) {
    var mysheet = document.styleSheets[i],
      myrules = mysheet.cssRules ? mysheet.cssRules : mysheet.rules;
    config.documentStyles.push(myrules);
  }
}
function defineDocumentStyles ( ) { for ( var i = 0 ; i < document . styleSheets . length ; i ++ ) { var mysheet = document . styleSheets [ i ] , myrules = mysheet . cssRules ? mysheet . cssRules : mysheet . rules ; config . documentStyles . push ( myrules ) ; } }
Return all documentStyles to a especified origami context
@returns undefined
Return all documentStyles to a especified origami context