Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 9c6c098

Browse files
committed
minor clean up
1 parent d81a53a commit 9c6c098

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

bower.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
"description": "A LRN element",
44
"main": "elmsln-loading.html",
55
"dependencies": {
6-
"polymer": "Polymer/polymer#^1.9.1",
7-
"lrnsys-behaviors": "LRNWebComponents/lrnsys-behaviors#^1.0.0",
8-
"hax-behaviors": "LRNWebComponents/hax-behaviors#^0.0.6",
9-
"materializecss-styles": "LRNWebComponents/materializecss-styles#^0.0.5",
6+
"polymer": "Polymer/Polymer#^2.3.1",
7+
"materializecss-styles": "LRNWebComponents/materializecss-styles#^1.1.0",
108
"paper-spinner": "PolymerElements/paper-spinner#^1.2.1",
119
"paper-tooltip": "PolymerElements/paper-tooltip#^1.1.4",
12-
"lrn-icons": "LRNWebComponents/lrn-icons#^1.0.13"
10+
"lrn-icons": "LRNWebComponents/lrn-icons#^1.1.0",
11+
"lrn-icon": "LRNWebComponents/lrn-icon#^1.0.2"
1312
},
1413
"devDependencies": {
1514
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",

elmsln-loading.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
<!--
66
`elmsln-loading`
7-
A LRN element
7+
A spinner to tell the user that something is loading. This is just the spinner though
8+
and doesn't provide any text or anything else to indicate that it's loading, just the
9+
visual.
810
911
@demo demo/index.html
1012
-->
@@ -57,7 +59,7 @@
5759
@keyframes spin { 100% { -webkit-transform: rotate(60deg); transform:rotate(60deg);} }
5860

5961
</style>
60-
<lrn-icon icon="network" class$="{{color}} {{size}}"></lrn-icon>
62+
<lrn-icon icon="network" class$="[[color]] [[size]]"></lrn-icon>
6163
</template>
6264

6365
<script>
@@ -69,15 +71,13 @@
6971
*/
7072
color: {
7173
type: String,
72-
notify: true,
7374
reflectToAttribute: true,
7475
},
7576
/**
7677
* tiny, small, medium, large, epic sizing.
7778
*/
7879
size: {
7980
type: String,
80-
notify: true,
8181
reflectToAttribute: true,
8282
value: 'medium',
8383
}

test/boiler-plate_test.html renamed to test/elmsln-loading_test.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
66

7-
<title>boiler-plate test</title>
7+
<title>elmsln-loading test</title>
88

99
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
1010
<script src="../../web-component-tester/browser.js"></script>
1111

12-
<link rel="import" href="../boiler-plate.html">
12+
<link rel="import" href="../elmsln-loading.html">
1313
</head>
1414
<body>
1515
<test-fixture id="basic">
1616
<template>
17-
<boiler-plate></boiler-plate>
17+
<elmsln-loading></elmsln-loading>
1818
</template>
1919
</test-fixture>
2020

2121
<script>
22-
suite('boiler-plate', function() {
22+
suite('elmsln-loading', function() {
2323
test('instantiating the element works', function() {
2424
var element = fixture('basic');
25-
assert.equal(element.is, 'boiler-plate');
25+
assert.equal(element.is, 'elmsln-loading');
2626
});
2727
});
2828
</script>

0 commit comments

Comments
 (0)