Chromium Code Reviews| Index: lib/src/script.dart |
| diff --git a/lib/src/script.dart b/lib/src/script.dart |
| index 12f4bfac80501fc627b615daf269d62a326cca5d..a41c18ddbd56a180aac66f329883be78d82f28f5 100644 |
| --- a/lib/src/script.dart |
| +++ b/lib/src/script.dart |
| @@ -15,6 +15,8 @@ import 'object.dart'; |
| import 'scope.dart'; |
| import 'source_location.dart'; |
| +String getScriptId(VMScriptRef scriptRef) => scriptRef._id; |
|
nweiz
2016/04/28 19:44:00
If an RPC requires a script ID, it should be a met
kevmoo
2016/04/28 20:26:05
Done.
|
| + |
| VMScriptRef newVMScriptRef(Scope scope, Map json) { |
| if (json == null) return null; |
| assert(json["type"] == "@Script" || json["type"] == "Script"); |