SASS guide http://css-tricks.com/sass-style-guide/
介紹單一 SASS 檔的撰寫順序
| var url = "http://example.com:3000/pathname/?search=test#hash"; | |
| var _a = new URL(url); | |
| _a.protocol; // => "http:" | |
| _a.hostname; // => "example.com" | |
| _a.port; // => "3000" | |
| _a.pathname; // => "/pathname/" | |
| _a.search; // => "?search=test" | |
| _a.hash; // => "#hash" |
| /*! | |
| * The simple JS URI object. | |
| * | |
| * @license GNU General Public License version 2 or later; see LICENSE | |
| * @link https://gist.github.com/asika32764/6556efdf5c593ce140bb | |
| */ | |
| /** | |
| * The simple JS URI object. | |
| * |
SASS guide http://css-tricks.com/sass-style-guide/
介紹單一 SASS 檔的撰寫順序
| import sublime, sublime_plugin, os, re | |
| class FileNameComplete(sublime_plugin.EventListener): | |
| def on_query_completions(self, view, prefix, locations): | |
| completions = [] | |
| sel = view.sel()[0].a | |
| if "string" in view.syntax_name(sel): | |
| pass |