Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0d9beed

Browse files
Fixes typo in method name
I guess this should be 'profit'. Is there other places I should change this?
1 parent 0417d8c commit 0d9beed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/static/patterns/behavioral_observer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ class fees {
8383
}
8484
}
8585
86-
class proft {
86+
class profit {
8787
update(product) {
8888
product.price = product.price * 2;
8989
}
9090
}
9191
92-
export { Product, fees, proft };`
92+
export { Product, fees, profit };`
9393
};
9494

9595
export default OBSERVER;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /