Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ functions
Functions
6,441 in github.com/codecombat/codecombat
⨍
Functions
6,441
◇
Types & classes
1,210
↓ 5 callers
Method
getPortraitSource
(spriteOptionsOrKey, size)
app/models/ThangType.js:366
↓ 5 callers
Method
getSampleCode
(team = 'humans')
app/models/Level.js:520
↓ 5 callers
Function
getSpeaker
app/schemas/models/selectors/cinematic.js:369
↓ 5 callers
Method
getTopScores
({ level, session })
app/models/LevelSession.js:129
↓ 5 callers
Function
getWaitUserInput
app/schemas/models/selectors/cinematic.js:594
↓ 5 callers
Function
handleStorage
(key, value, expirationInMinutes)
app/lib/user-utils.js:34
↓ 5 callers
Method
initClass
()
app/views/editor/campaign/CampaignEditorView.js:715
↓ 5 callers
Method
initClass
()
app/views/editor/level/treema_nodes.js:286
↓ 5 callers
Method
initClass
()
app/views/editor/level/scripts/ScriptsTabView.js:229
↓ 5 callers
Function
internationalizeConfigAux
* This replaces properties recursively with the i18n properties. * It's a very naive implementation and should be replaced with the * i18n function
ozaria/site/common/ozariaUtils.js:268
↓ 5 callers
Method
isBetaTester
()
app/models/User.js:157
↓ 5 callers
Method
isFullyLoaded
()
app/models/ThangType.js:113
↓ 5 callers
Method
isOnlineTeacher
()
app/models/User.js:136
↓ 5 callers
Method
levelIsAssessment
(level)
app/models/Campaign.js:130
↓ 5 callers
Method
levels
()
app/models/User.js:478
↓ 5 callers
Method
loadComponents
(components)
app/views/editor/component/ThangComponentsEditView.js:98
↓ 5 callers
Method
loadNames
()
app/views/ladder/LadderPlayModal.js:111
↓ 5 callers
Function
luaEval
(code, that)
spec/aether/lua_spec.js:14
↓ 5 callers
Method
onClickStripeLifetimeButton
()
app/views/core/SubscribeModal.js:307
↓ 5 callers
Method
onEquipmentChanged
()
app/views/play/menu/InventoryModal.js:969
↓ 5 callers
Method
onThangsChanged
(skipSerialization)
app/views/editor/level/thangs/ThangsTabView.js:924
↓ 5 callers
Method
openView
(view)
app/core/Router.js:747
↓ 5 callers
Method
promptForSubscription
(slug, label)
app/views/play/CampaignView.js:1166
↓ 5 callers
Method
pushTasks
()
app/views/editor/level/tasks/TasksTabView.js:117
↓ 5 callers
Method
rotateSelectedThangTo
(radians)
app/views/editor/level/thangs/ThangsTabView.js:1145
↓ 5 callers
Method
save
()
app/models/EarnedAchievement.js:20
↓ 5 callers
Method
set
(key, val, options)
app/models/LevelComponent.js:59
↓ 5 callers
Method
showGemsAndXpInClassroom
()
app/models/User.js:1376
↓ 5 callers
Method
showHeroAndInventoryModalsToStudents
()
app/models/User.js:1377
↓ 5 callers
Method
showItemDetails
(item, showExtra)
app/views/play/menu/InventoryModal.js:531
↓ 5 callers
Method
signupWithGPlus
(name, email, gplusID, options = {})
app/models/User.js:1068
↓ 5 callers
Method
spy
(user, options = {})
app/models/User.js:973
↓ 5 callers
Method
subscribe
(render)
app/views/account/SubscriptionView.js:199
↓ 5 callers
Method
unequipItemFromSlot
(slotEl)
app/views/play/menu/InventoryModal.js:493
↓ 5 callers
Function
updateConfigForChinaServer
(expectedConfig)
test/ozaria/site/components/sign-up/signUpConfig.spec.js:58
↓ 5 callers
Method
updateVisibleSelectedUsers
()
app/views/courses/ManageLicenseModal.js:243
↓ 5 callers
Method
useChinaHomeView
()
app/models/User.js:1455
↓ 5 callers
Method
watchForDisableAllTrackingChanges
(store)
app/core/Tracker2/BaseTracker.js:59
↓ 4 callers
Function
ThangTypeSchema
(title, description)
app/schemas/models/cinematic.schema.js:4
↓ 4 callers
Function
__guard__
(value, transform)
app/core/initialize.js:436
↓ 4 callers
Function
__guard__
(value, transform)
app/views/AboutView.js:142
↓ 4 callers
Function
__guard__
(value, transform)
app/views/courses/EnrollmentsView.js:339
↓ 4 callers
Function
__guard__
(value, transform)
app/views/editor/chat/ChatEditView.js:226
↓ 4 callers
Function
__guard__
(value, transform)
app/views/editor/thang/ThangTypeColorsTabView.js:453
↓ 4 callers
Function
__guard__
(value, transform)
app/views/editor/level/treema_nodes.js:636
↓ 4 callers
Function
__guard__
(value, transform)
app/views/play/modal/LeaderboardTabView.js:142
↓ 4 callers
Function
__guard__
(value, transform)
ozaria/site/views/play/level/modal/HeroVictoryModal.js:739
↓ 4 callers
Method
adjustThangPos
(sprite, thang, pos, ignoreSnap)
app/views/editor/level/thangs/ThangsTabView.js:741
↓ 4 callers
Method
buildActions
()
app/models/ThangType.js:155
↓ 4 callers
Method
canBuyGems
()
app/models/User.js:1372
↓ 4 callers
Function
createPracticeLevel
()
test/app/views/teachers/BaseSingleClass.spec.js:20
↓ 4 callers
Method
destroy
()
app/views/editor/verifier/i18nVerifierView.js:202
↓ 4 callers
Method
destroy
()
app/views/editor/thang/ThangTypeEditView.js:991
↓ 4 callers
Method
destroy
()
ozaria/site/views/play/level/PlayLevelView.js:1563
↓ 4 callers
Method
error
()
app/views/teachers/TeachersContactModal.js:133
↓ 4 callers
Method
error
()
app/views/admin/AdministerUserModal.js:548
↓ 4 callers
Method
error
()
app/models/CocoModel.js:502
↓ 4 callers
Method
fetchByIds
(ids)
app/collections/Users.js:61
↓ 4 callers
Method
fetchCreatorOfPrepaid
(prepaid)
app/models/User.js:960
↓ 4 callers
Method
fetchForClassroomAndCourse
(classroomID, courseID, options)
app/collections/Levels.js:30
↓ 4 callers
Function
fetchMySessions
(levelOriginal, options)
app/core/api/level-sessions.js:56
↓ 4 callers
Method
fetchNameForClassmate
(options = {})
app/models/User.js:964
↓ 4 callers
Method
fetchStudents
()
app/views/courses/TeacherClassView.js:226
↓ 4 callers
Method
flattenThangs
(thangs)
app/views/editor/level/thangs/ThangsTabView.js:898
↓ 4 callers
Method
fun
()
app/views/admin/CodePlaybackView.js:133
↓ 4 callers
Method
getCurrentEquipmentConfig
()
app/views/play/menu/InventoryModal.js:544
↓ 4 callers
Method
getLankOptions
()
app/views/editor/thang/ThangTypeEditView.js:560
↓ 4 callers
Function
getLeaderboardPlayerCount
(levelOriginal, options)
app/core/api/leaderboard.js:18
↓ 4 callers
Function
getMyRank
(levelOriginal, sessionId, options)
app/core/api/leaderboard.js:14
↓ 4 callers
Method
getName
(session)
app/views/play/modal/LeaderboardTabView.js:76
↓ 4 callers
Function
getNextLevelForLevel
(level, capstoneStage = 1)
ozaria/site/common/ozariaUtils.js:148
↓ 4 callers
Method
getPortraitURL
(hero)
app/views/core/HeroSelectView.js:87
↓ 4 callers
Method
getProductsByType
(type)
app/models/User.js:896
↓ 4 callers
Function
getQueryVariable
(param, defaultValue)
app/core/utils.js:836
↓ 4 callers
Function
getRandomPosition
(result)
app/lib/terrain-generation.js:930
↓ 4 callers
Method
getThangData
()
app/views/editor/thang/ThangTypeEditView.js:694
↓ 4 callers
Method
getThangType
* Get a loaded thangType by slug. * @param {string} slug - Slug of a thangType * @returns {object|undefined} May return thangType or undefined
ozaria/engine/cinematic/Loader.js:178
↓ 4 callers
Method
groupThangs
(thangs)
app/views/editor/level/thangs/ThangsTabView.js:869
↓ 4 callers
Method
hasReadPermission
(options)
app/models/Classroom.js:451
↓ 4 callers
Method
highlightNextLevel
()
app/views/play/CampaignView.js:1876
↓ 4 callers
Method
initClass
()
app/views/editor/level/thangs/ThangsTabView.js:1331
↓ 4 callers
Method
insertDeltaView
(model, changeEl, headModel)
app/views/editor/level/modals/SaveBranchModal.js:117
↓ 4 callers
Method
isAPIClient
()
app/models/User.js:152
↓ 4 callers
Method
isGoogleClassroom
()
app/models/Classroom.js:449
↓ 4 callers
Method
isILK
()
app/models/User.js:1394
↓ 4 callers
Method
isInHourOfCode
()
app/models/User.js:343
↓ 4 callers
Method
isMac
()
app/views/play/level/modal/KeyboardShortcutsModal.js:19
↓ 4 callers
Method
isPaidTeacher
()
app/models/User.js:309
↓ 4 callers
Method
isSchoolAdmin
()
app/models/User.js:147
↓ 4 callers
Method
isSmokeTestUser
()
app/models/User.js:176
↓ 4 callers
Method
isStudentOnOptionalLevel
(studentID, courseID, levelOriginal)
app/models/Classroom.js:422
↓ 4 callers
Method
isTarena
()
app/models/User.js:1380
↓ 4 callers
Method
joinWithCode
(code, opts)
app/models/Classroom.js:59
↓ 4 callers
Method
lastClassroomItems
()
app/models/User.js:1358
↓ 4 callers
Method
levelIsPractice
(level, forceCourseNumbering)
app/models/Campaign.js:115
↓ 4 callers
Function
levenshteinDistance
(str1, str2)
test/app/lib/translate_utils.spec.js:1013
↓ 4 callers
Function
loginNavigate
(subModalContinue)
app/views/core/AuthModal.js:368
↓ 4 callers
Method
makeDot
(color)
app/views/editor/thang/ThangTypeEditView.js:306
↓ 4 callers
Function
makeLevelsForCapstoneFlow
* creates 4 levels with second level as the level played in stages * the next levels store the information about capstone stage
test/ozaria/site/common/ozariaUtils.spec.js:32
↓ 4 callers
Function
makeVersion
()
test/app/factories.coco.js:26
← previous
next →
301–400 of 6,441, ranked by callers