diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-08 15:37:45 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-08 15:37:45 -0800 |
commit | a25e9721173dc072c5ab82b7084a6ebe3d24dec9 (patch) | |
tree | 2943f87a0fd477b972b64f3a3341f93356862099 /src/library_openal.js | |
parent | cca74d2500b1e05b2927b68a50345875bbe91eff (diff) | |
parent | 4259c8b65351ae91c5d8265fdb51b2b59073691b (diff) |
Merge pull request #1764 from juj/name_more_functions
Add more names for functions that show up in Firefox profiler as anonymous.
Diffstat (limited to 'src/library_openal.js')
-rw-r--r-- | src/library_openal.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library_openal.js b/src/library_openal.js index e8a2e223..eb152f62 100644 --- a/src/library_openal.js +++ b/src/library_openal.js @@ -8,13 +8,13 @@ var LibraryOpenAL = { QUEUE_INTERVAL: 25, QUEUE_LOOKAHEAD: 100, - updateSources: function(context) { + updateSources: function updateSources(context) { for (var i = 0; i < context.src.length; i++) { AL.updateSource(context.src[i]); } }, - updateSource: function(src) { + updateSource: function updateSource(src) { #if OPENAL_DEBUG var idx = AL.currentContext.src.indexOf(src); #endif @@ -65,7 +65,7 @@ var LibraryOpenAL = { } }, - setSourceState: function(src, state) { + setSourceState: function setSourceState(src, state) { #if OPENAL_DEBUG var idx = AL.currentContext.src.indexOf(src); #endif @@ -119,7 +119,7 @@ var LibraryOpenAL = { } }, - stopSourceQueue: function(src) { + stopSourceQueue: function stopSourceQueue(src) { for (var i = 0; i < src.queue.length; i++) { var entry = src.queue[i]; if (entry.src) { |