Index: sdk/lib/html/templates/html/impl/impl_AudioContext.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_AudioContext.darttemplate b/sdk/lib/html/templates/html/impl/impl_AudioContext.darttemplate |
deleted file mode 100644 |
index 47b17e758b6877ddf8c5f471eb5b23a68fe24d69..0000000000000000000000000000000000000000 |
--- a/sdk/lib/html/templates/html/impl/impl_AudioContext.darttemplate |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-part of web_audio; |
- |
-/// @domName $DOMNAME |
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
-$!MEMBERS |
-$if DART2JS |
- GainNode createGain() { |
- if (JS('bool', '#.createGain !== undefined', this)) { |
- return JS('GainNode', '#.createGain()', this); |
- } else { |
- return JS('GainNode', '#.createGainNode()', this); |
- } |
- } |
- |
- ScriptProcessorNode createScriptProcessor(int bufferSize, |
- [int numberOfInputChannels, int numberOfOutputChannels]) { |
- var function = JS('dynamic', '#.createScriptProcessor || ' |
- '#.createJavaScriptNode', this, this); |
- if (?numberOfOutputChannels) { |
- return JS('ScriptProcessorNode', '#.call(#, #, #, #)', function, this, |
- bufferSize, numberOfInputChannels, numberOfOutputChannels); |
- } else if (?numberOfInputChannels) { |
- return JS('ScriptProcessorNode', '#.call(#, #, #)', function, this, |
- bufferSize, numberOfInputChannels); |
- } else { |
- return JS('ScriptProcessorNode', '#.call(#, #)', function, this, |
- bufferSize); |
- } |
- } |
-$endif |
-} |