Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 8338e27

Browse files
committed
🎬 First release
1 parent b53daf8 commit 8338e27

6 files changed

Lines changed: 33 additions & 25 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
## 0.1.0 - First Release
2-
* Every feature added
3-
* Every bug fixed
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
This project adheres to [Semantic Versioning](http://semver.org/) and
5+
tries to follow the [Keep a CHANGELOG](http://keepachangelog.com) convention.
6+
7+
## [vNext](https://github.com/jerone/atom-html2js/compare/v0.1.0...master) - Unreleased
8+
9+
* ...
10+
11+
## v0.1.0 - 2016-03-21
12+
13+
* First Release

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
# HTML2JS package
1+
# [HTML2JS package](https://github.com/jerone/atom-html2js/)
22

3-
A short description of your package.
3+
[![GitHub Release](https://img.shields.io/github/release/jerone/atom-html2js.svg)](https://github.com/jerone/atom-html2js/releases)
4+
[![Atom.io](https://img.shields.io/apm/v/html2js.svg)](https://atom.io/packages/html2js)
5+
[![Dependency Status](https://david-dm.org/jerone/atom-html2js.svg?theme=shields.io)](https://david-dm.org/jerone/atom-html2js)
6+
[![License](http://img.shields.io/github/license/jerone/atom-html2js.svg)](https://github.com/jerone/atom-html2js/blob/master/LICENSE.md)
7+
[![Gitter chat](https://img.shields.io/badge/gitter-online-brightgreen.svg)](https://gitter.im/jerone/atom-html2js)
48

5-
![A screenshot of your package](https://f.cloud.github.com/assets/69169/2290250/c35d867a-a017-11e3-86be-cd7c5bf3ff9b.gif)
9+
Convert HTML to JavaScript.
10+
11+
![Screenshot](https://cloud.githubusercontent.com/assets/55841/13935319/17a75990-efb7-11e5-9e48-7befa0c05b67.gif)
12+
13+
## Installation
14+
15+
```shell
16+
apm install html2js
17+
```

keymaps/html2js.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/html2js-view.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ export default class Html2JsView {
6464
if (lineHeight === null) lineHeight = this.input.getHeight()
6565
this.input.setHeight(lineHeight * 5)
6666
this.input.focus()
67-
68-
// Debug
69-
this.input.getModel().setText(
70-
`<div class="a bb ccc" attr="value" empty-attr="" data-attr="data-value" data-int="123">
71-
<child-1>Text content</child-1>
72-
<child-2 id="identifier">
73-
<sub-child class="a bb ccc" attr="value" empty-attr="" data-attr="data-value" data-int="123" />
74-
</child-2>
75-
</div>`)
7667
}
7768

7869
close () {

menus/html2js.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"context-menu": {
33
"atom-text-editor": [
44
{
5-
"label": "Toggle Html2Js",
5+
"label": "Toggle HTML2JS",
66
"command": "html2js:toggle"
77
}
88
]
@@ -12,7 +12,7 @@
1212
"label": "Packages",
1313
"submenu": [
1414
{
15-
"label": "Html2Js",
15+
"label": "HTML2JS",
1616
"submenu": [
1717
{
1818
"label": "Toggle",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "HTML2JS",
3-
"version": "0.0.0",
4-
"description": "A short description of your package",
3+
"version": "0.1.0",
4+
"description": "Convert HTML to JavaScript",
55
"keywords": [],
66
"bugs": {
77
"url": "https://github.com/jerone/atom-html2js/issues"
@@ -20,7 +20,7 @@
2020
"event-kit": "^2.0.0"
2121
},
2222
"devDependencies": {
23-
"eslint": "^2.3.0",
23+
"eslint": "^2.4.0",
2424
"eslint-config-standard": "^5.1.0",
2525
"eslint-plugin-promise": "^1.1.0",
2626
"eslint-plugin-standard": "^1.3.2",

0 commit comments

Comments
 (0)