Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: samples/pop-pop-win/web/_audio.dart

Issue 200723008: samples/poppopwin: upgrade to first-class sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/pop-pop-win/web/_audio.dart
diff --git a/samples/third_party/pop-pop-win/web/_audio.dart b/samples/pop-pop-win/web/_audio.dart
similarity index 97%
rename from samples/third_party/pop-pop-win/web/_audio.dart
rename to samples/pop-pop-win/web/_audio.dart
index c9fa293b92d932036f759d8f869b1080bf6896b7..fe800ced94b787b3aeb3a91045c3bebeaad16bb9 100644
--- a/samples/third_party/pop-pop-win/web/_audio.dart
+++ b/samples/pop-pop-win/web/_audio.dart
@@ -120,7 +120,7 @@ class _Audio {
static String _getAudioPath(String name) {
assert(_audioFormat != null);
- return 'audio/${_audioFormat}/$name.${_audioFormat}';
+ return '${_ASSET_DIR}audio/${_audioFormat}/$name.${_audioFormat}';
}
static Iterable<String> _getAudioPaths(Iterable<String> names) {

Powered by Google App Engine
This is Rietveld 408576698