Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Commit

Permalink
Merge pull request #102 from jakemac53/0.4.0
Browse files Browse the repository at this point in the history
update to 0.4.0 js versions
  • Loading branch information
jakemac53 committed Sep 12, 2014
2 parents e0c3f2a + e42fe86 commit c646236
Show file tree
Hide file tree
Showing 309 changed files with 4,313 additions and 8,793 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# changelog

This file contains highlights of what changes on each version of the
core_elements package.
## Pub version 0.2.1

* Update all elements to the 0.4.0 js versions.
* **New** Added new element core_popup_menu.
* Fix core_drag_drop example.
* Upgrade polymer dependency to >= 0.14.0.
* Removed platform.js from all tests and examples.
* Upgrade dependency on web_components to >=0.7.0.

## Pub version 0.2.0+1

Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"private": true,
"dependencies": {
"polymer": "polymer/polymer#0.3.5",
"core-elements": "polymer/core-elements#0.3.5"
"polymer": "polymer/polymer#0.4.0",
"core-elements": "polymer/core-elements#0.4.0"
}
}
2 changes: 2 additions & 0 deletions core_elements_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ files_to_generate:
- core-overlay/core-overlay.html
- core-overlay/core-overlay-layer.html
- core-pages/core-pages.html
- core-popup-menu/core-popup-menu.html
- core-popup-menu/core-popup-overlay.html
- core-range/core-range.html
- core-scaffold/core-scaffold.html
- core-scroll-header-panel/core-scroll-header-panel.html
Expand Down
1 change: 0 additions & 1 deletion example/core_ajax_dart.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<title>core-ajax</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_ajax_dart.html">

Expand Down
1 change: 0 additions & 1 deletion example/core_animated_pages/grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html>
<head>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>

<link href="packages/core_elements/core_icons.html" rel="import">
Expand Down
3 changes: 1 addition & 2 deletions example/core_animated_pages/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html>
<head>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link href="packages/core_elements/core_animated_pages.html" rel="import">

Expand Down Expand Up @@ -126,4 +125,4 @@
<list-demo></list-demo>

</body>
</html>
</html>
1 change: 0 additions & 1 deletion example/core_animated_pages/music.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<head>
<title>core-animated-pages</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link href="packages/core_elements/core_animated_pages.html" rel="import">

Expand Down
2 changes: 1 addition & 1 deletion example/core_animated_pages/nested.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>core-animated-pages</title>
<script src="packages/web_components/platform.js"></script>

<script src="packages/web_components/dart_support.js"></script>
<link href="nested_animated_pages.html" rel="import">

Expand Down
1 change: 0 additions & 1 deletion example/core_animated_pages/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html>
<head>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>

<link href="packages/core_elements/core_icon.html" rel="import">
Expand Down
1 change: 0 additions & 1 deletion example/core_animated_pages/quiz1.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<head>
<title>core-animated-pages</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link href="packages/core_elements/av_icons.html" rel="import">
<link href="packages/paper_elements/paper_fab.html" rel="import">
Expand Down
1 change: 0 additions & 1 deletion example/core_animated_pages/shadow.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html>
<head>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>

<link href="packages/core_elements/core_icons.html" rel="import">
Expand Down
1 change: 0 additions & 1 deletion example/core_animated_pages/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html>
<head>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link href="packages/core_elements/core_animated_pages.html" rel="import">
<link href="packages/core_elements/src/core-animated-pages/transitions/cross-fade.html" rel="import">
Expand Down
3 changes: 1 addition & 2 deletions example/core_animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<html>
<head>
<title>core-animation</title>

<script src="packages/web_components/platform.js"></script>

<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_animation.html">
<link rel="import" href="packages/core_elements/core_animation_group.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_collapse.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<title>core-collapse</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_collapse.html">

Expand Down
10 changes: 5 additions & 5 deletions example/core_drag_drop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ import 'dart:html';
import 'dart:js' show JsObject;
import 'package:polymer/polymer.dart';
export 'package:polymer/init.dart' show main;

@initMethod init() {
window.on['drag-start'].listen((e) {
var dragInfo = e.detail;
// TODO(sigmund): this shouldn't be necessary. See issue 19315.
if (dragInfo == null) {
dragInfo = _js(e)['detail'];
}
// TODO(sigmund): remove this use of JsInterop when dartbug.com/20648 and
// dartbug.com/19315 are fixed.
var dragInfo = _js(e)['detail'];

// flaw #2: e vs dragInfo.event
var color = dragInfo['event'].target.style.backgroundColor;
Expand All @@ -31,6 +30,7 @@ export 'package:polymer/init.dart' show main;
});
//
}

drop(dragInfo) {
var color = dragInfo['avatar'].style.borderColor;
var dropTarget = _js(dragInfo['event'])['relatedTarget'];
Expand Down
1 change: 0 additions & 1 deletion example/core_drag_drop.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

<title>Core Drag Drop</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>

<link rel="import" href="packages/core_elements/core_drag_drop.html">
Expand Down
3 changes: 1 addition & 2 deletions example/core_drawer_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">

<script src="packages/web_components/platform.js"></script>

<script src="packages/web_components/dart_support.js"></script>

<link rel="import" href="packages/core_elements/core_drawer_panel.html">
Expand Down
5 changes: 2 additions & 3 deletions example/core_dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0,user-scalable=yes">

<title>core-dropdown</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>


Expand Down Expand Up @@ -99,4 +98,4 @@
<dropdown-demo fit></dropdown-demo>

</body>
</html>
</html>
1 change: 0 additions & 1 deletion example/core_field.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<meta charset="UTF-8">
<title>Core Field</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_field.html">

Expand Down
1 change: 0 additions & 1 deletion example/core_header_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<head>
<title>core-header-panel</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_header_panel.html">

Expand Down
1 change: 0 additions & 1 deletion example/core_icon.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<head>
<title>core-icon</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_icons.html">
<link rel="import" href="packages/core_elements/core_icon.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_icon_button.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<head>
<title>core-icon-button</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_icon_button.html">
<link rel="import" href="packages/core_elements/core_iconset.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<title>core-icons</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>

<!-- load default set -->
Expand Down
3 changes: 1 addition & 2 deletions example/core_iconset.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
<head>

<title>core-iconset</title>

<script src="packages/web_components/platform.js"></script>

<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_iconset.html">
<link rel="import" href="packages/core_elements/core_icon.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_iconset_svg.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<head>

<title>core-iconset-svg</title>
<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/polymer/polymer.html">
<link rel="import" href="packages/core_elements/core_iconset_svg.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_input.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

<title>core-input</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_input.html">

Expand Down
1 change: 0 additions & 1 deletion example/core_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<title>core-item</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>

<link rel="import" href="packages/core_elements/core_icons.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_layout_grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<head>

<title>core-layout-grid example</title>
<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import"
href="packages/core_elements/core_layout_grid.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_layout_trbl.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<title>core-layout-trbl demo</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import"
href="packages/core_elements/core_layout_trbl.html">
Expand Down
1 change: 0 additions & 1 deletion example/core_list_dart.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<head>
<title>core-list-dart</title>
<meta name="viewport" content="width=device-width">
<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_list_dart.html">

Expand Down
1 change: 0 additions & 1 deletion example/core_localstorage_dart.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<title>core-localstorage-dart</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_localstorage_dart.html">

Expand Down
1 change: 0 additions & 1 deletion example/core_media_query.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<head>
<meta charset="UTF-8">
<title>Polymer match media</title>
<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/core_elements/core_media_query.html">
</head>
Expand Down
1 change: 0 additions & 1 deletion example/core_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<title>core-menu</title>

<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>

<link rel="import" href="packages/core_elements/core_icons.html">
Expand Down
Loading

0 comments on commit c646236

Please sign in to comment.