Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件开发的一些问题 #142

Closed
oxUnd opened this issue Aug 10, 2015 · 0 comments
Closed

插件开发的一些问题 #142

oxUnd opened this issue Aug 10, 2015 · 0 comments
Labels

Comments

@oxUnd
Copy link
Contributor

oxUnd commented Aug 10, 2015

function (content, file, options) {
  console.log(options);
  return content;
}
{
  __plugin: 'sass-by-ruby',
  __name: 'sass-by-ruby',
  __pos: undefined,
}

以上 options 属性是系统所有,而不应该传给插件。需要在传入给插件参数的时候做个过滤。

@oxUnd oxUnd added the bug label Aug 10, 2015
@2betop 2betop closed this as completed in 67cd32b Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant