code: function splitPrefix(name) {
          var prefix,
            index = name ? name.indexOf("!") : -1;
          if (index > -1) {
            prefix = name.substring(0, index);
            name = name.substring(index + 1, name.length);
          }
          return [prefix, name];
        }
docs: Turns a plugin!resource to [plugin, resource] with the plugin being undefined if the name did not have a plugin prefix.