Skip to content

Commit

Permalink
Change resolve return docblock to "Importer object or null.", fixes #75
Browse files Browse the repository at this point in the history
  • Loading branch information
maoberlehner committed Nov 22, 2016
1 parent 73148ea commit 1d9cc8a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/MagicImporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ MagicImporter.prototype.store = function store (url, selectorFilters) {
/**
* Synchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {string} Fully resolved import url or null.
* @return {string} Importer object or null.
*/
MagicImporter.prototype.resolveSync = function resolveSync (url) {
var this$1 = this;
Expand Down Expand Up @@ -174,7 +174,7 @@ MagicImporter.prototype.resolveSync = function resolveSync (url) {
/**
* Asynchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {Promise} Promise for a fully resolved import url.
* @return {Promise} Promise for importer object or null.
*/
MagicImporter.prototype.resolve = function resolve (url) {
var this$1 = this;
Expand Down
4 changes: 2 additions & 2 deletions dist/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ MagicImporter.prototype.store = function store (url, selectorFilters) {
/**
* Synchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {string} Fully resolved import url or null.
* @return {string} Importer object or null.
*/
MagicImporter.prototype.resolveSync = function resolveSync (url) {
var this$1 = this;
Expand Down Expand Up @@ -174,7 +174,7 @@ MagicImporter.prototype.resolveSync = function resolveSync (url) {
/**
* Asynchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {Promise} Promise for a fully resolved import url.
* @return {Promise} Promise for importer object or null.
*/
MagicImporter.prototype.resolve = function resolve (url) {
var this$1 = this;
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ MagicImporter.prototype.store = function store (url, selectorFilters) {
/**
* Synchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {string} Fully resolved import url or null.
* @return {string} Importer object or null.
*/
MagicImporter.prototype.resolveSync = function resolveSync (url) {
var this$1 = this;
Expand Down Expand Up @@ -174,7 +174,7 @@ MagicImporter.prototype.resolveSync = function resolveSync (url) {
/**
* Asynchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {Promise} Promise for a fully resolved import url.
* @return {Promise} Promise for importer object or null.
*/
MagicImporter.prototype.resolve = function resolve (url) {
var this$1 = this;
Expand Down
4 changes: 2 additions & 2 deletions js/lib/MagicImporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default class MagicImporter {
/**
* Synchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {string} Fully resolved import url or null.
* @return {string} Importer object or null.
*/
resolveSync(url) {
let data = null;
Expand Down Expand Up @@ -168,7 +168,7 @@ export default class MagicImporter {
/**
* Asynchronously resolve the path to a node-sass import url.
* @param {string} url - Import url from node-sass.
* @return {Promise} Promise for a fully resolved import url.
* @return {Promise} Promise for importer object or null.
*/
resolve(url) {
return new Promise((promiseResolve) => {
Expand Down

0 comments on commit 1d9cc8a

Please sign in to comment.