Skip to content

Instantly share code, notes, and snippets.

@zeffii
Created January 24, 2014 15:21
Show Gist options
  • Select an option

  • Save zeffii/8599326 to your computer and use it in GitHub Desktop.

Select an option

Save zeffii/8599326 to your computer and use it in GitHub Desktop.
var support_dir = brackets.app.getApplicationSupportDirectory(),
precursor_path,
precursor_file = "package.json"; // where this represents some config file.
support_dir += "/extensions/user/zeffii.precursor/";
precursor_path = support_dir + precursor_file;
var prototypes;
$.getJSON(precursor_path, function (data) {
prototypes = data;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment