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

support function replace for js. #59

Merged
merged 1 commit into from
May 12, 2014
Merged

support function replace for js. #59

merged 1 commit into from
May 12, 2014

Conversation

hysios
Copy link
Contributor

@hysios hysios commented May 12, 2014

Example

        fileTypes: {
          html: {
            replace: {
              js: function(filepath) {
                return '<script class=' + classname + ' src=' + filePath + '></script>'
              }
            }
          }
        }

Example
```js 
        fileTypes: {
          html: {
            replace: {
              js: function(filepath) {
                return '<script class=' + classname + ' src=' + filePath + '></script>'
              }
            }
          }
        }
```
stephenplusplus added a commit that referenced this pull request May 12, 2014
support function replace for js.
@stephenplusplus stephenplusplus merged commit bb8e1c7 into taptapship:master May 12, 2014
@stephenplusplus
Copy link
Member

Awesome. Thanks! 👍

@stephenplusplus
Copy link
Member

Published with 1.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants