Skip to content

Instantly share code, notes, and snippets.

Pepe Cano ppcano

Block or report user

Report or block ppcano

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View load_test.js
import {sleep} from "k6";
import mainPageUserFlow from "../cases/main-page";
import billingUserFlow from "../cases/billing";
export let options = {
thresholds: {
"group_duration{group:::mainPageGroup}": ["p(99)<300"],
"group_duration{group:::billingGroup}": ["p(99)<300"]
}
};
View mu1.diff
diff --git i/lib/broccoli/default-packager.js w/lib/broccoli/default-packager.js
index 1228226ee..af184f6db 100644
--- i/lib/broccoli/default-packager.js
+++ w/lib/broccoli/default-packager.js
@@ -845,46 +845,33 @@ module.exports = class DefaultPackager {
annotation: 'Tests To Process',
});
-
if (this.isModuleUnificationEnabled) {
View foo.diff
diff --git i/lib/models/addon.js w/lib/models/addon.js
index 2f9de9d00..1734e3604 100644
--- i/lib/models/addon.js
+++ w/lib/models/addon.js
@@ -298,6 +298,10 @@ let addonProto = {
public: 'public',
};
+ if (this.isModuleUnification()) {
+ this.treePaths.styles = 'src/ui/styles';
View ember-octane-blueprint-thoughts.md

I have reviewed the ember-octane-blueprint project and I have some thoughts that I would like to share:

The ember-octane-blueprint duplicates code from the ember-cli/module-unification-app blueprint; If we want to create tests for the ember-octane-blueprint project, we may end up duplicating the existing MU tests and having to maintain two similar MU app blueprints.

I wonder if a better strategy would be to figure out how the octane-blueprint project could reuse the existing module-unification-app blueprint.

View components.my-component.js
import Ember from 'ember';
import layout from '../templates/components/other-template';
export default Ember.Component.extend({
layout
});
View caller.hbs
{{es-footer}}
{{es-footer as |f|}}
{{#f.info}}
My custom info
{{/f.info}}
{{f.more}}
{{es-footer}}
View components.child-component.js
import Ember from 'ember';
import Parent from './parent-component';
export default Parent.extend({
foo: 'baz'
});
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember - Workaround to yield multiple blocks'
});
View httpbinpost.har
{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [
{
"startedDateTime": "2018-01-30T11:05:24.052Z",
View k6-decode-compressed.js
import http from "k6/http"
function logResponse(res) {
console.log('URL', res.url);
console.log(res.body);
for (var key in res.headers) {
console.log(key, res.headers[key]);
}
You can’t perform that action at this time.