This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Miu", | |
"version": "0.1.2", | |
"authors": [ | |
"0x142857 [i@0x142857.com](mailto:i@0x142857.com)" | |
], | |
"description": "Mou inspired Editor for Windows", | |
"main": "index.html", | |
"moduleType": [ | |
"node" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Miu = Ember.Application.create(); | |
var gui = require('nw.gui'); | |
var win = gui.Window.get(); | |
1 |
123
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">func</span><span class="hljs-params">()</span></span>{
alert(<span class="hljs-string">'123'</span>)
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="hljs-variable">$translateProvider</span>.translations(<span class="hljs-string">'cn'</span>, { | |
<span class="hljs-string">'GLOBAL'</span>:{ | |
<span class="hljs-string">'save'</span>: <span class="hljs-string">'保存'</span>, | |
<span class="hljs-string">'cancel'</span>: <span class="hljs-string">'取消'</span>, | |
<span class="hljs-string">'confirm'</span>: <span class="hljs-string">'确定'</span> | |
}, | |
<span class="hljs-string">'NAV'</span>:{ | |
<span class="hljs-string">'file'</span>: { | |
<span class="hljs-string">'title'</span>: <span class="hljs-string">'文件'</span>, | |
<span class="hljs-string">'option'</span>: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="hljs-variable">$translateProvider</span>.translations(<span class="hljs-string">'cn'</span>, { | |
<span class="hljs-string">'GLOBAL'</span>:{ | |
<span class="hljs-string">'save'</span>: <span class="hljs-string">'保存'</span>, | |
<span class="hljs-string">'cancel'</span>: <span class="hljs-string">'取消'</span>, | |
<span class="hljs-string">'confirm'</span>: <span class="hljs-string">'确定'</span> | |
}, | |
<span class="hljs-string">'NAV'</span>:{ | |
<span class="hljs-string">'file'</span>: { | |
<span class="hljs-string">'title'</span>: <span class="hljs-string">'文件'</span>, | |
<span class="hljs-string">'option'</span>: { |
OlderNewer