[closes gh-69] Removed Bower support (and cleaned up few more things).
This commit is contained in:
Родитель
62331d1ad5
Коммит
b995baa9d2
|
@ -1,6 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"name": "mirrorsharp-demo-owin",
|
||||
"authors": [
|
||||
"Andrey Shchekin <ashmind@gmail.com>"
|
||||
],
|
||||
"description": "",
|
||||
"main": "",
|
||||
"license": "MIT",
|
||||
"homepage": "",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"mirrorsharp": "../WebAssets"
|
||||
}
|
||||
}
|
|
@ -3,11 +3,11 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>MirrorSharp Demo</title>
|
||||
<link rel="stylesheet" href="bower_components/codemirror/lib/codemirror.css">
|
||||
<link rel="stylesheet" href="bower_components/codemirror/addon/lint/lint.css">
|
||||
<link rel="stylesheet" href="bower_components/codemirror/addon/hint/show-hint.css">
|
||||
<link rel="stylesheet" href="bower_components/codemirror-addon-lint-fix/dist/lint-fix.css">
|
||||
<link rel="stylesheet" href="bower_components/mirrorsharp/mirrorsharp.css">
|
||||
<link rel="stylesheet" href="node_modules/codemirror/lib/codemirror.css">
|
||||
<link rel="stylesheet" href="node_modules/codemirror/addon/lint/lint.css">
|
||||
<link rel="stylesheet" href="node_modules/codemirror/addon/hint/show-hint.css">
|
||||
<link rel="stylesheet" href="node_modules/codemirror-addon-lint-fix/dist/lint-fix.css">
|
||||
<link rel="stylesheet" href="node_modules/mirrorsharp/mirrorsharp.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans">
|
||||
<style>
|
||||
* { box-sizing: border-box; }
|
||||
|
@ -53,13 +53,13 @@ class C {
|
|||
}
|
||||
}</textarea>
|
||||
|
||||
<script src="bower_components/codemirror/lib/codemirror.js"></script>
|
||||
<script src="bower_components/codemirror/mode/clike/clike.js"></script>
|
||||
<script src="bower_components/codemirror/mode/mllike/mllike.js"></script>
|
||||
<script src="bower_components/codemirror/addon/lint/lint.js"></script>
|
||||
<script src="bower_components/codemirror/addon/hint/show-hint.js"></script>
|
||||
<script src="bower_components/codemirror-addon-lint-fix/dist/lint-fix.js"></script>
|
||||
<script src="bower_components/mirrorsharp/mirrorsharp.js"></script>
|
||||
<script src="node_modules/codemirror/lib/codemirror.js"></script>
|
||||
<script src="node_modules/codemirror/mode/clike/clike.js"></script>
|
||||
<script src="node_modules/codemirror/mode/mllike/mllike.js"></script>
|
||||
<script src="node_modules/codemirror/addon/lint/lint.js"></script>
|
||||
<script src="node_modules/codemirror/addon/hint/show-hint.js"></script>
|
||||
<script src="node_modules/codemirror-addon-lint-fix/dist/lint-fix.js"></script>
|
||||
<script src="node_modules/mirrorsharp/mirrorsharp.js"></script>
|
||||
<script>
|
||||
'use strict';
|
||||
const language = ((window.location.search.match(/language=([^&]+)/) || [])[1] || 'CSharp').replace('Sharp', '#');
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"name": "mirrorsharp.owin.demo",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"mirrorsharp": "file:../WebAssets"
|
||||
}
|
||||
}
|
|
@ -31,10 +31,7 @@ Once installed, call `app.UseMirrorSharp()` in your OWIN startup.
|
|||
|
||||
### Client
|
||||
|
||||
Use one of the following:
|
||||
|
||||
- `npm install mirrorsharp --save`
|
||||
- `bower install mirrorsharp --save` (TODO: this is not available yet)
|
||||
NPM: `npm install mirrorsharp --save`
|
||||
|
||||
#### CSS
|
||||
If you are using LESS, CSS references can be done automatically by including `mirrorsharp/mirrorsharp.less`.
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"name": "mirrorsharp",
|
||||
"dependencies": {
|
||||
"codemirror": "^5.18.2",
|
||||
"codemirror-addon-lint-fix": "^1.0.0"
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче