Skip to content

Instantly share code, notes, and snippets.

@matthewp
Last active December 30, 2015 07:28
Show Gist options
  • Save matthewp/7795772 to your computer and use it in GitHub Desktop.
Save matthewp/7795772 to your computer and use it in GitHub Desktop.
Framework checker - Checks which JS framework a page is using.
console.log('This page is using:',
['can', 'Ember', 'Backbone', 'angular', 'ko', 'Ext', 'Spine', 'Batman', 'React']
.filter(function(framework) { return !!window[framework]; }).join(' and ') || 'nothing'
);
@matthewp
Copy link
Author

matthewp commented Dec 4, 2013

Copy/paste into dev tools if you're curious which framework a webapp is using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment