A pixel art painter geared specifically at NES pixel art. Includes export for .chr binary file as well as palette and namespace data.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

19 行
332B

  1. const utils = {
  2. debounce:function(func, delay){
  3. var timeout = null;
  4. return function(){
  5. var context = this;
  6. var args = arguments;
  7. clearTimeout(timeout);
  8. timeout = setTimeout(function(){
  9. func.apply(context, args);
  10. }, delay);
  11. };
  12. }
  13. };
  14. Object.freeze(utils);
  15. export default utils;