2018-07-23 20:53:50 +08:00
|
|
|
/*
|
|
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
|
|
Author Florent Cailhol @ooflorent
|
|
|
|
*/
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
/** @typedef {import("webpack-sources").Source} Source */
|
|
|
|
|
|
|
|
class InitFragment {
|
|
|
|
/**
|
|
|
|
* @param {string|Source} content [TODO]
|
2018-07-25 01:56:35 +08:00
|
|
|
* @param {number} priority [TODO]
|
2018-07-23 20:53:50 +08:00
|
|
|
* @param {string=} key [TODO]
|
|
|
|
*/
|
2018-07-25 01:56:35 +08:00
|
|
|
constructor(content, priority, key) {
|
2018-07-23 20:53:50 +08:00
|
|
|
this.content = content;
|
2018-07-25 01:56:35 +08:00
|
|
|
this.priority = priority;
|
2018-07-23 20:53:50 +08:00
|
|
|
this.key = key;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = InitFragment;
|