juliankrispel / jsio-codemods

A bunch of codemods to turn code reliant on the jsio compiler into es6 modules
MIT License
0 stars 0 forks source link

global utility functions #8

Open juliankrispel opened 8 years ago

juliankrispel commented 8 years ago

There are a few global utility methods like bind or merge (maybe more that I don't know about).

would it be worth adding a codemod for those (adding imports for them at the top of a file?)

@yofreke

yofreke commented 8 years ago

I think that all of those come from https://github.com/gameclosure/js.io/blob/master/packages/base.js, so writing a mod for it should not be too difficult. I vote yes on this, unless it starts taking a really long time.

import { merge, bind, ... } from 'base';