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

separate default template for easy customization #811

Merged
merged 4 commits into from
Oct 25, 2016
Merged

separate default template for easy customization #811

merged 4 commits into from
Oct 25, 2016

Conversation

superyyrrzz
Copy link
Contributor

@superyyrrzz superyyrrzz commented Oct 21, 2016

#662

provide 2 functions for each type: preSteps() and postSteps, which defined in type.html.primary.extension.js. Users can change this file to modify the model.
@chenkennt @vwxyzh @hellosnow @ansyral @qinezh

@qinezh
Copy link
Contributor

qinezh commented Oct 24, 2016

:shipit:

// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.

exports.preSteps = function (model) {
return model;
Copy link
Contributor

@hellosnow hellosnow Oct 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question, how about process model directly and not return model itself? #Pending

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, remain this as user may want to return a new model.


In reply to: 84629091 [](ancestors = 84629091)

@@ -2,8 +2,13 @@

var mrefCommon = require('./ManagedReference.common.js');
Copy link
Contributor

@vwxyzh vwxyzh Oct 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about require('./ManageReference.extension.js');? #Resolved

@hellosnow
Copy link
Contributor

:shipit:

@superyyrrzz superyyrrzz merged commit e538170 into dotnet:dev Oct 25, 2016
@superyyrrzz superyyrrzz deleted the tmpl branch October 25, 2016 02:24
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.

5 participants