Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fbeline/design-patterns-JS
/ functions
Functions
215 in github.com/fbeline/design-patterns-JS
⨍
Functions
215
◇
Types & classes
138
Function
SauceDecorator
(pasta)
src/structural/decorator/decorator.js:13
Function
Sheep
(name, weight)
src/creational/prototype/prototype.js:1
Function
Shipping
()
src/behavioral/state/state.js:16
Function
ShoppingCart
(discount)
src/behavioral/strategy/strategy.js:1
Function
ShoppingCart
()
src/behavioral/chain-of-resp/chain-of-resp.js:1
Function
Soldier
(lvl)
src/structural/adapter/adapter.js:1
Function
SpeedDownCommand
(turbine)
src/behavioral/command/command.js:60
Function
SpeedUpCommand
(turbine)
src/behavioral/command/command.js:52
Function
Sum
(left, right)
src/behavioral/interpreter/interpreter.js:1
Function
Tax
()
src/behavioral/template/template.js:1
Function
Tax1
()
src/behavioral/template/template.js:14
Function
Tax2
()
src/behavioral/template/template.js:21
Function
TrafficTower
()
src/behavioral/mediator/mediator.js:1
Function
Turbine
()
src/behavioral/command/command.js:9
Function
WaitingForPayment
()
src/behavioral/state/state.js:9
Function
acrylicInk
()
src/structural/bridge/bridge.js:15
Function
alcoholInk
()
src/structural/bridge/bridge.js:19
Method
attack
()
src/structural/adapter/adapter_es6.js:26
Function
battleDroidFactory
()
src/creational/abstract-factory/abstract-factory_es6.js:6
Function
battleDroidFactory
()
src/creational/abstract-factory/abstract-factory.js:6
Function
bonusVisitor
(employee)
src/behavioral/visitor/visitor.js:1
Function
bonusVisitor
(employee)
src/behavioral/visitor/visitor_es6.js:1
Method
calc
(products)
src/behavioral/chain-of-resp/chain-of-resp-es6.js:14
Method
calc
(value)
src/behavioral/template/template_es6.js:3
Method
calc
(price)
src/structural/facade/facade_es6.js:8
Method
calc
(value)
src/structural/facade/facade_es6.js:18
Method
calc
()
src/structural/facade/facade_es6.js:24
Method
constructor
(discount)
src/behavioral/strategy/strategy_es6.js:3
Method
constructor
(value)
src/behavioral/memento/memento_es6.js:2
Method
constructor
()
src/behavioral/memento/memento_es6.js:18
Method
constructor
(left, right)
src/behavioral/interpreter/interpreter_es6.js:3
Method
constructor
(left, right)
src/behavioral/interpreter/interpreter_es6.js:15
Method
constructor
(val)
src/behavioral/interpreter/interpreter_es6.js:27
Method
constructor
(command)
src/behavioral/command/command_es6.js:3
Method
constructor
()
src/behavioral/command/command_es6.js:14
Method
constructor
(turbine)
src/behavioral/command/command_es6.js:29
Method
constructor
(turbine)
src/behavioral/command/command_es6.js:40
Method
constructor
(name, nextStatus)
src/behavioral/state/state_es6.js:2
Method
constructor
()
src/behavioral/state/state_es6.js:13
Method
constructor
()
src/behavioral/state/state_es6.js:19
Method
constructor
()
src/behavioral/state/state_es6.js:25
Method
constructor
()
src/behavioral/state/state_es6.js:31
Method
constructor
()
src/behavioral/mediator/mediator_es6.js:3
Method
constructor
(position, trafficTower)
src/behavioral/mediator/mediator_es6.js:16
Method
constructor
()
src/behavioral/chain-of-resp/chain-of-resp-es6.js:3
Method
constructor
()
src/behavioral/chain-of-resp/chain-of-resp-es6.js:26
Method
constructor
()
src/behavioral/chain-of-resp/chain-of-resp-es6.js:45
Method
constructor
(el)
src/behavioral/iterator/iterator_es6.js:3
Method
constructor
(salary)
src/behavioral/visitor/visitor_es6.js:10
Method
constructor
(salary)
src/behavioral/visitor/visitor_es6.js:21
Method
constructor
(salary)
src/behavioral/visitor/visitor_es6.js:27
Method
constructor
()
src/behavioral/template/template_es6.js:18
Method
constructor
()
src/behavioral/template/template_es6.js:29
Method
constructor
()
src/behavioral/observer/observer_es6.js:2
Method
constructor
()
src/structural/decorator/decorator_es6.js:2
Method
constructor
()
src/structural/decorator/decorator_es6.js:11
Method
constructor
(pasta)
src/structural/decorator/decorator_es6.js:18
Method
constructor
(pasta)
src/structural/decorator/decorator_es6.js:29
Method
constructor
(pasta)
src/structural/decorator/decorator_es6.js:39
Method
constructor
(ink)
src/structural/bridge/bridge_es6.js:2
Method
constructor
(ink)
src/structural/bridge/bridge_es6.js:8
Method
constructor
(ink)
src/structural/bridge/bridge_es6.js:18
Method
constructor
(type)
src/structural/bridge/bridge_es6.js:28
Method
constructor
()
src/structural/bridge/bridge_es6.js:37
Method
constructor
()
src/structural/bridge/bridge_es6.js:43
Method
constructor
()
src/structural/composite/composite_es6.js:20
Method
constructor
()
src/structural/composite/composite_es6.js:39
Method
constructor
()
src/structural/composite/composite_es6.js:47
Method
constructor
()
src/structural/composite/composite_es6.js:55
Method
constructor
()
src/structural/composite/composite_es6.js:63
Method
constructor
()
src/structural/facade/facade_es6.js:2
Method
constructor
(driver)
src/structural/proxy/proxy_es6.js:8
Method
constructor
(age)
src/structural/proxy/proxy_es6.js:17
Method
constructor
(name)
src/structural/flyweight/flyweight_es6.js:2
Method
constructor
(name)
src/structural/flyweight/flyweight_es6.js:8
Method
constructor
(level)
src/structural/adapter/adapter_es6.js:2
Method
constructor
(level)
src/structural/adapter/adapter_es6.js:12
Method
constructor
(jedi)
src/structural/adapter/adapter_es6.js:22
Method
constructor
(model, price, maxSpeed)
src/creational/factory/factory_es6.js:12
Method
constructor
()
src/creational/singleton/singleton_es6.js:2
Method
constructor
()
src/creational/builder/builder_es6.js:2
Method
constructor
()
src/creational/builder/builder_es6.js:10
Method
constructor
(name, weight)
src/creational/prototype/prototype_es6.js:3
Method
drive
()
src/structural/proxy/proxy_es6.js:11
Function
droidProducer
(kind)
src/creational/abstract-factory/abstract-factory_es6.js:1
Method
exec
(products)
src/behavioral/chain-of-resp/chain-of-resp-es6.js:53
Method
execute
()
src/behavioral/command/command_es6.js:33
Method
execute
()
src/behavioral/command/command_es6.js:44
Function
getFileContents
( path )
scripts/build-docs.js:32
Method
getName
()
src/structural/composite/composite_es6.js:8
Method
getPrice
()
src/structural/decorator/decorator_es6.js:23
Method
getPrice
()
src/structural/decorator/decorator_es6.js:33
Method
getPrice
()
src/structural/decorator/decorator_es6.js:43
Method
getPrice
()
src/structural/composite/composite_es6.js:29
Function
guestStrategy
(amount)
src/behavioral/strategy/strategy.js:14
Function
guestStrategy
(amount)
src/behavioral/strategy/strategy_es6.js:17
Method
info
()
src/creational/abstract-factory/abstract-factory_es6.js:21
Method
interpret
()
src/behavioral/interpreter/interpreter_es6.js:20
Method
interpret
()
src/behavioral/interpreter/interpreter_es6.js:31
Function
makeSection
( name )
scripts/build-docs.js:18
← previous
next →
101–200 of 215, ranked by callers