文件操作 - null-grammar.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/atom/resources/app/apm/node_modules/first-mate/lib/null-grammar.js
编辑文件内容
(function() { var Grammar, NullGrammar, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; Grammar = require('./grammar'); module.exports = NullGrammar = (function(_super) { __extends(NullGrammar, _super); function NullGrammar(registry) { var name, scopeName; name = 'Null Grammar'; scopeName = 'text.plain.null-grammar'; NullGrammar.__super__.constructor.call(this, registry, { name: name, scopeName: scopeName }); } NullGrammar.prototype.getScore = function() { return 0; }; return NullGrammar; })(Grammar); }).call(this);
修改文件时间
将文件时间修改为当前时间的前一年
删除文件