Skip to content

Commit

Permalink
Move main file to the root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec committed Sep 21, 2015
1 parent 63d12b4 commit 137b666
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ module.exports = function(grunt) {
},
bump: {
options: {
files: ['package.json', 'bower.json', 'src/juicy-ace-editor.html'],
files: ['package.json', 'bower.json', 'juicy-ace-editor.html'],
commit: true,
commitMessage: '%VERSION%',
commitFiles: ['package.json', 'bower.json', 'src/juicy-ace-editor.html'],
commitFiles: ['package.json', 'bower.json', 'juicy-ace-editor.html'],
createTag: true,
tagName: '%VERSION%',
tagMessage: 'Version %VERSION%',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Or [download as ZIP](https://github.com/juicy/juicy-ace-editor/archive/gh-pages.
2. Import Custom Element:

```html
<link rel="import" href="bower_components/juicy-ace-editor/src/juicy-ace-editor.html">
<link rel="import" href="bower_components/juicy-ace-editor/juicy-ace-editor.html">
```

3. Start using it!
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.3",
"description": "Custom Element with Ace(http://ace.c9.io/) code editor",
"license": "MIT",
"main": "src/juicy-ace-editor.html",
"main": "juicy-ace-editor.html",
"keywords": [
"web-components",
"ace",
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script src="//cdn.jsdelivr.net/webcomponentsjs/0.7.10/webcomponents.min.js"></script>

<!-- Importing Custom Elements -->
<link rel="import" href="src/juicy-ace-editor.html">
<link rel="import" href="juicy-ace-editor.html">
<style type="text/css" media="screen">
html,body{
height: 100%;
Expand Down
4 changes: 2 additions & 2 deletions src/juicy-ace-editor.html → juicy-ace-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
http://juicy.github.io/juicy-ace-editor/
version: 1.0.3
-->
<script src="../../ace-builds/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="../ace-builds/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>

<template>
<style>
Expand All @@ -27,7 +27,7 @@
// Refers to the "importer", which is index.html
var thatDoc = document;

// Refers to the "importee", which is src/juicy-ace-editor.html
// Refers to the "importee", which is juicy-ace-editor.html
var thisDoc = (document._currentScript || document.currentScript).ownerDocument;

// Gets content from <template>
Expand Down
2 changes: 1 addition & 1 deletion kitchen-sink.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" href="http://ace.c9.io/demo/kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
<script async="true" src="https://use.edgefonts.net/source-code-pro.js"></script>

<link rel="import" href="src/juicy-ace-editor.html">
<link rel="import" href="juicy-ace-editor.html">
</head>
<body>
<template is="dom-bind">
Expand Down

0 comments on commit 137b666

Please sign in to comment.