Load the Writefull script when given a query param GitOrigin-RevId: 57ce26b8692b43b7754ee77de67e9734d4a196dc
@@ -678,6 +678,17 @@ const ProjectController = {
}
)
},
+ writefullIntegrationAssignment(cb) {
+ SplitTestHandler.getAssignment(
+ req,
+ res,
+ 'writefull-integration',
+ () => {
+ // We'll pick up the assignment from the res.locals assignment.
+ cb()
+ }
+ )
+ },
projectTags(cb) {
if (!userId) {
return cb(null, [])
@@ -45,3 +45,5 @@ meta(name="ol-fileActionI18n" data-type="json" content=fileActionI18n)
if (settings.overleaf != null)
meta(name="ol-overallThemes" data-type="json" content=overallThemes)
+
+!= moduleIncludes("editor:meta", locals)