fix call to removed function

This commit is contained in:
Luke Page
2015-03-15 17:50:48 +00:00
parent d7846e2ae5
commit ebb79c08b2

View File

@@ -217,7 +217,7 @@ var Parser = function Parser(context, imports, fileInfo) {
// Ruleset (Selector [Element '>', '.child'], [...])
// ])
//
// In general, most rules will try to parse a token with the `$()` function, and if the return
// In general, most rules will try to parse a token with the `$re()` function, and if the return
// value is truly, will return a new node, of the relevant type. Sometimes, we need to check
// first, before parsing, that's when we use `peek()`.
//
@@ -1324,7 +1324,7 @@ var Parser = function Parser(context, imports, fileInfo) {
if ((path = this.entities.quoted() || this.entities.url())) {
if (!parserInput.$(';')) {
if (!parserInput.$char(';')) {
parserInput.i = index;
error("missing semi-colon on plugin");
}