mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-13 17:21:19 -05:00
6 lines
242 B
CoffeeScript
6 lines
242 B
CoffeeScript
|
module.exports =
|
||
|
playDevLevel: ({level, session, course}) ->
|
||
|
shareURL = "#{window.location.origin}/play/#{level.get('type')}-level/#{level.get('slug')}/#{session.id}"
|
||
|
shareURL += "?course=#{course.id}" if course
|
||
|
return shareURL
|