This file contains 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
export default (fileInfo, api) => { | |
const j = api.jscodeshift; | |
const root = j(fileInfo.source); | |
let specifiers = []; | |
root | |
.find(j.ImportDeclaration, isLodashImport) | |
.forEach((path) => specifiers.push(...path.node.specifiers.map((specifier) => specifier.local.name))) | |
.remove(); |
This file contains 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
// Multiple Items and Event Monitoring Example | |
import com.hydrotik.queueloader.QueueLoader; | |
import com.hydrotik.queueloader.QueueLoaderEvent; | |
var imageContainer:Sprite = new Sprite(); | |
addChild(imageContainer); | |
imageContainer.x = imageContainer.y = 25; | |
var _oLoader:QueueLoader = new QueueLoader(); |