Skip to content

Commit

Permalink
Normalizes script and style names
Browse files Browse the repository at this point in the history
  • Loading branch information
Davi Ferreira committed Oct 4, 2013
1 parent 03a2326 commit 14f43b9
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = function(grunt) {
report: 'gzip'
},
build: {
src: 'src/js/medium.editor.js',
src: 'src/js/medium-editor.js',
dest: 'dist/js/<%= pkg.name %>.min.js'
}
};
Expand Down Expand Up @@ -91,15 +91,15 @@ module.exports = function(grunt) {
stripBanners: true
},
dist: {
src: 'src/js/medium.editor.js',
src: 'src/js/medium-editor.js',
dest: 'dist/js/<%= pkg.name %>.js'
}
};

gruntConfig.plato = {
feed: {
files: {
'reports/plato': ['src/js/medium.editor.js']
'reports/plato': ['src/js/medium-editor.js']
}
}
};
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ __demo__: [http://daviferreira.github.io/medium-editor/](http://daviferreira.git
First, you need to attach medium editor's stylesheet to your page:

```html
<link rel="stylesheet" href="css/medium.editor.css">
<link rel="stylesheet" href="css/medium-editor.css">
```

The next step is to reference the editor's script and instantiate a new MediumEditor object:

```html
<script src="js/medium.editor.js"></script>
<script src="js/medium-editor.js"></script>
<script>var editor = new MediumEditor('.editable');</script>
```

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-editor",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "http://daviferreira.github.io/medium-editor/",
"authors": [
"Davi Ferreira <hi@daviferreira.com>"
Expand Down
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>medium editor | demo</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/demo.css">
<link rel="stylesheet" href="../dist/css/medium.editor.css">
<link rel="stylesheet" href="../dist/css/medium-editor.css">
<style>
</style>
</head>
Expand All @@ -24,7 +24,7 @@
<div class="editable"></div>
<div class="editable" data-placeholder="Type your post"></div>
</div>
<script src="../dist/js/medium.editor.js"></script>
<script src="../dist/js/medium-editor.js"></script>
<script>
var editor = new MediumEditor('.editable');
</script>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium.editor",
"version": "1.1.0",
"name": "medium-editor",
"version": "1.1.1",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.0",
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 14f43b9

Please sign in to comment.