Skip to content

Commit

Permalink
minor update to user agent regex in Restive class
Browse files Browse the repository at this point in the history
  • Loading branch information
Obinwanne Hill committed Jun 15, 2015
1 parent 68e9ad5 commit 3635ba3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# CHANGELOG

## 1.3.5
- Update user agent string regular expression in getUserAgent method of Restive class

## 1.3.4
- Fix issue with turbo classes outputting function code with class names

Expand Down
14 changes: 10 additions & 4 deletions README.md
@@ -1,6 +1,6 @@
# Restive.JS

Restive.JS is a JQuery Plugin that helps you quickly and easily add features to your Web Site that enable it respond and adapt to virtually every Web-enabled Device. Using a combination of Device Detection, Advanced Breakpoints Management, and Orientation Management, the Plugin will give your Website an uncanny ability to stay robust in the face of a constantly changing device landscape.
Restive.JS is a JQuery Plugin that helps you quickly and easily add features to your Web Site that enable it respond and adapt to virtually every Web-enabled Device. Using a combination of Device Detection, Advanced Breakpoints Management, and Orientation Management, the Plugin will give your Website an uncanny ability to quickly adapt in a constantly changing device landscape.



Expand Down Expand Up @@ -31,7 +31,7 @@ If you find that you fit one or more of the criteria below, then you might want

## License

[Click here to view the License Agreement](/LICENSE.md) for the Basic Version of Restive.JS.
[Click here to view the License Agreement](/LICENSE.md) for Restive.JS.



Expand All @@ -50,6 +50,8 @@ Include script *after* the jQuery library:
<script src="/path/to/restive.min.js"></script>
```

**NOTE**: Please ensure that you use the latest version of Restive.JS.



## Usage
Expand Down Expand Up @@ -132,10 +134,14 @@ Please be mindful to disable the following Javascript libraries from your Web pa
These libraries are already embedded within Restive.JS.


## Acknowledgements

A big thank you to [BrowserStack](http://www.browserstack.com) for sponsoring this project.

![BrowserStack Logo](https://upload.wikimedia.org/wikipedia/en/thumb/6/6e/BrowserStack_logo.svg/320px-BrowserStack_logo.svg.png)

## Credits

Restive will like to thank the following third-parties for script usage (and some inspiration):
Thanks also to the following for scripts (and some inspiration):

- AppendTo - [AmplifyJS Store](http://amplifyjs.com/api/store/)
- Douglas Crockford - [JSON2.js](https://github.com/douglascrockford/JSON-js)
Expand Down
2 changes: 1 addition & 1 deletion restive.js
Expand Up @@ -3151,7 +3151,7 @@ var Restive = (function(window, document, $) {
is_proxy_bool;

//Check if device user agent is being updated by proxy-based browser
is_proxy_bool = /mozilla.+x11/i.test(ua);
is_proxy_bool = /mozilla.+x11(?!.*?(ubuntu|firefox|chrome|safari|opera|opr|qupzilla))/i.test(ua);

switch(true)
{
Expand Down
6 changes: 3 additions & 3 deletions restive.min.js

Large diffs are not rendered by default.

0 comments on commit 3635ba3

Please sign in to comment.