This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.cssom = { | |
| init: function () { | |
| var _this = window.cssom; | |
| _this.functions.bootstrapTable(); | |
| }, | |
| data: { | |
| table: {}, | |
| rootClass: "CSSOM", | |
| tableClass: "table", | |
| rowButton: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.analyzer = { | |
| init: function (object, id) { | |
| this.functions.appendTable(id); | |
| this.functions.setupHeaders(object); | |
| this.functions.addData(object); | |
| this.functions.addCaption("Analysis of the stylesheets"); | |
| }, | |
| data: {}, | |
| helpers: { | |
| wrapper: function (id) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| table { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| thead { | |
| order: -1; | |
| } | |
| tbody { | |
| flex-grow: 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| store = { | |
| types: [localStorage,sessionStorage], | |
| convertValue: function (v) { | |
| return typeof v !== "object" ? v : JSON.stringify(v); | |
| }, | |
| unconvertValue: function (v) { | |
| if (v !== null) { | |
| if ( v.indexOf("{") === 0 || v.indexOf("[") === 0 ) { | |
| var v = JSON.parse(v); | |
| return v; |
NewerOlder