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

Unified Diff: sky/examples/raw/circle.sky

Issue 1182993003: Delete old raw .sky examples since they are no longer valid examples. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | sky/examples/raw/custom_paint_without_element.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/raw/circle.sky
diff --git a/sky/examples/raw/circle.sky b/sky/examples/raw/circle.sky
deleted file mode 100644
index dcf725492289c81093450866a84be6a7c1b6238f..0000000000000000000000000000000000000000
--- a/sky/examples/raw/circle.sky
+++ /dev/null
@@ -1,24 +0,0 @@
-<sky>
-<style>
-div {
- height: 200px;
- background-color: lightblue;
-}
-</style>
-<div id="canvas" />
-<script>
-import 'dart:math' as math;
-import 'dart:sky';
-
-void main() {
- var element = document.getElementById('canvas');
- element.requestPaint((PaintingContext context) {
- Paint paint = new Paint();
- paint.color = const Color.fromARGB(128, 0, 255, 0);
- double radius = math.min(context.width, context.height) / 2.0;
- context.drawCircle(context.width / 2.0, context.height / 2.0, radius, paint);
- context.commit();
- });
-}
-</script>
-</sky>
« no previous file with comments | « no previous file | sky/examples/raw/custom_paint_without_element.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698